Skip to content

Instantly share code, notes, and snippets.

@upodroid
Created October 27, 2020 18:55
Show Gist options
  • Save upodroid/6f7863b33632ce14be43064dba3d30fa to your computer and use it in GitHub Desktop.
Save upodroid/6f7863b33632ce14be43064dba3d30fa to your computer and use it in GitHub Desktop.
mm 3907 repro
==> Checking source code against gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google-beta -v -run TestAccKmsCryptoKeyIamPolicy_withCondition -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion=acc"
=== RUN TestAccKmsCryptoKeyIamPolicy_withCondition
=== PAUSE TestAccKmsCryptoKeyIamPolicy_withCondition
=== CONT TestAccKmsCryptoKeyIamPolicy_withCondition
2020/10/27 13:36:46 [INFO] Authenticating using DefaultClient...
2020/10/27 13:36:46 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:36:48 [INFO] Authenticating using DefaultClient...
2020/10/27 13:36:48 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:36:51 [INFO] Authenticating using DefaultClient...
2020/10/27 13:36:51 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:36:51 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020/10/27 13:36:51 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:36:51 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:36:51 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/billingAccounts/015A88-97C32E-AA6039:testIamPermissions?alt=json&prettyPrint=false HTTP/1.1
Host: cloudbilling.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 56
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"permissions": [
"billing.resourceAssociations.create"
]
}
-----------------------------------------------------
2020/10/27 13:36:52 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:36:52 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
37
{
"permissions": [
"billing.resourceAssociations.create"
]
}
0
-----------------------------------------------------
2020/10/27 13:36:52 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:36:52 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:36:52 [DEBUG]: Creating new project "tf-test-4134736696257343334"
2020/10/27 13:36:52 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:36:52 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:36:52 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:36:52 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:36:52 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 119
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"name": "Test project",
"parent": {
"id": "684510004702",
"type": "organization"
},
"projectId": "tf-test-4134736696257343334"
}
-----------------------------------------------------
2020/10/27 13:36:53 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:36:53 GMT
Server: ESF
Server-Timing: gfet4t7; dur=731
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2c
{
"name": "operations/cp.8091227907767962571"
}
0
-----------------------------------------------------
2020/10/27 13:36:53 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:36:53 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:36:53 [DEBUG] Waiting for state to become: [done: true]
2020/10/27 13:36:53 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:36:53 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:36:53 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:36:53 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/operations/cp.8091227907767962571?alt=json HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:36:54 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:36:54 GMT
Server: ESF
Server-Timing: gfet4t7; dur=773
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
32
{
"name": "operations/cp.8091227907767962571"
}
0
-----------------------------------------------------
2020/10/27 13:36:54 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:36:54 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:36:54 [DEBUG] Got done: false while polling for operation operations/cp.8091227907767962571's status
2020/10/27 13:37:04 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:04 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:04 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:04 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/operations/cp.8091227907767962571?alt=json HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:05 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:05 GMT
Server: ESF
Server-Timing: gfet4t7; dur=783
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
246
{
"name": "operations/cp.8091227907767962571",
"metadata": {
"@type": "type.googleapis.com/google.cloudresourcemanager.v1.ProjectCreationStatus",
"gettable": true,
"ready": true
},
"done": true,
"response": {
"@type": "type.googleapis.com/google.cloudresourcemanager.v1.Project",
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
}
0
-----------------------------------------------------
2020/10/27 13:37:05 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:05 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:05 [DEBUG] Got done: true while polling for operation operations/cp.8091227907767962571's status
2020/10/27 13:37:05 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:05 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020/10/27 13:37:05 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:05 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:05 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
PUT /v1/projects/tf-test-4134736696257343334/billingInfo?alt=json&prettyPrint=false HTTP/1.1
Host: cloudbilling.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 62
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"billingAccountName": "billingAccounts/015A88-97C32E-AA6039"
}
-----------------------------------------------------
2020/10/27 13:37:07 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:07 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
b7
{
"name": "projects/tf-test-4134736696257343334/billingInfo",
"projectId": "tf-test-4134736696257343334",
"billingAccountName": "billingAccounts/015A88-97C32E-AA6039",
"billingEnabled": true
}
0
-----------------------------------------------------
2020/10/27 13:37:07 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:07 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:07 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:07 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020/10/27 13:37:07 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:07 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:07 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/billingInfo?alt=json&prettyPrint=false HTTP/1.1
Host: cloudbilling.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:08 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:08 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
b7
{
"name": "projects/tf-test-4134736696257343334/billingInfo",
"projectId": "tf-test-4134736696257343334",
"billingAccountName": "billingAccounts/015A88-97C32E-AA6039",
"billingEnabled": true
}
0
-----------------------------------------------------
2020/10/27 13:37:08 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:08 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:18 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:18 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:37:18 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:18 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:18 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:19 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:19 GMT
Server: ESF
Server-Timing: gfet4t7; dur=845
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:19 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:19 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:19 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:19 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020/10/27 13:37:19 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:19 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:19 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/billingInfo?alt=json&prettyPrint=false HTTP/1.1
Host: cloudbilling.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:20 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:20 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
b7
{
"name": "projects/tf-test-4134736696257343334/billingInfo",
"projectId": "tf-test-4134736696257343334",
"billingAccountName": "billingAccounts/015A88-97C32E-AA6039",
"billingEnabled": true
}
0
-----------------------------------------------------
2020/10/27 13:37:20 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:20 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:20 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:37:23 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:37:23 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:37:23 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:23 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:23 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:23 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:23 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:24 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:24 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2
{}
0
-----------------------------------------------------
2020/10/27 13:37:24 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:24 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:24 [DEBUG] Creating new batch "Enable Project Service \"cloudkms.googleapis.com\" for project \"tf-test-4134736696257343334\"" from request "project/tf-test-4134736696257343334/services:batchEnable"
2020/10/27 13:37:27 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services:batchEnable" combining 1 requests)
2020/10/27 13:37:27 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:27 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:27 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:27 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:27 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/services/cloudkms.googleapis.com:enable?alt=json&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 3
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{}
-----------------------------------------------------
2020/10/27 13:37:28 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:28 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
7d
{
"name": "operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Any"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:28 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:28 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:28 [DEBUG] Waiting for state to become: [done: true]
2020/10/27 13:37:28 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:28 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:28 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:28 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:29 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:29 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
92
{
"name": "operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:29 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:29 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:29 [DEBUG] Got done: false while polling for operation operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404's status
2020/10/27 13:37:39 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:39 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:39 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:39 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:40 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:40 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1491
{
"name": "operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
},
"done": true,
"response": {
"@type": "type.googleapis.com/google.api.serviceusage.v1.EnableServiceResponse",
"service": {
"name": "projects/347408376220/services/cloudkms.googleapis.com",
"config": {
"name": "cloudkms.googleapis.com",
"title": "Cloud Key Management Service (KMS) API",
"documentation": {
"summary": "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.\n"
},
"quota": {},
"authentication": {},
"legacy": {
"apiV1Name": "cloudkms.googleapis.com",
"devconsole": {
"learnmoreUrl": "https://cloud.google.com/kms/"
}
},
"usage": {
"requirements": [
"serviceusage.googleapis.com/tos/cloud"
],
"serviceAccess": "PUBLIC"
},
"monitoredResources": [
{
"type": "cloudkms.googleapis.com/analytics"
},
{
"type": "serviceruntime.googleapis.com/api",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "serviceruntime.googleapis.com/api_version"
},
{
"key": "serviceruntime.googleapis.com/api_method"
},
{
"key": "serviceruntime.googleapis.com/consumer_project"
},
{
"key": "cloud.googleapis.com/project"
},
{
"key": "cloud.googleapis.com/service"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/consumer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/producer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/consumer_resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
}
],
"monitoring": {
"consumerDestinations": [
{
"monitoredResource": "serviceruntime.googleapis.com/api",
"metrics": [
"serviceruntime.googleapis.com/api/consumer/quota_used_count",
"serviceruntime.googleapis.com/api/consumer/quota_refund_count",
"serviceruntime.googleapis.com/quota/used",
"serviceruntime.googleapis.com/quota/limit",
"serviceruntime.googleapis.com/quota/exceeded",
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/consumer_quota",
"metrics": [
"serviceruntime.googleapis.com/quota/rate/consumer/used_count",
"serviceruntime.googleapis.com/quota/rate/consumer/refund_count",
"serviceruntime.googleapis.com/quota/allocation/consumer/usage",
"serviceruntime.googleapis.com/quota/consumer/limit",
"serviceruntime.googleapis.com/quota/consumer/exceeded"
]
}
]
},
"migration": {},
"features": [
"googleprod.com/service/use-monarch"
]
},
"state": "ENABLED",
"parent": "projects/347408376220"
}
}
}
0
-----------------------------------------------------
2020/10/27 13:37:40 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:40 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:40 [DEBUG] Got done: true while polling for operation operations/acf.875e8d49-76a7-4aaa-aa94-2b020512a404's status
2020/10/27 13:37:40 [DEBUG] Finished enabling next batch of 1 project services: [cloudkms.googleapis.com]
2020/10/27 13:37:40 [DEBUG] Verifying that all services are enabled
2020/10/27 13:37:40 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:40 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:37:40 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:40 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:40 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:40 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:40 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:41 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:41 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
50
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:37:41 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:41 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:41 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:37:41 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:41 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:41 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:42 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:42 GMT
Server: ESF
Server-Timing: gfet4t7; dur=775
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:42 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:42 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:42 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:37:45 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:37:45 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:37:45 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:45 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:45 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:45 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:45 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:46 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:46 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
50
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:37:46 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:46 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:46 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:37:49 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:37:49 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:37:49 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:49 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:49 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:49 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:49 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:50 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:50 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
50
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:37:50 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:50 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:50 [DEBUG] Creating new batch "Enable Project Service \"iam.googleapis.com\" for project \"tf-test-4134736696257343334\"" from request "project/tf-test-4134736696257343334/services:batchEnable"
2020/10/27 13:37:53 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services:batchEnable" combining 1 requests)
2020/10/27 13:37:53 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:53 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:37:53 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:53 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:53 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/services/iam.googleapis.com:enable?alt=json&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 3
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{}
-----------------------------------------------------
2020/10/27 13:37:55 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:55 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
7d
{
"name": "operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Any"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:55 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:55 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:55 [DEBUG] Waiting for state to become: [done: true]
2020/10/27 13:37:55 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:37:55 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:37:55 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:37:55 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:37:56 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:37:56 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
92
{
"name": "operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
0
-----------------------------------------------------
2020/10/27 13:37:56 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:37:56 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:37:56 [DEBUG] Got done: false while polling for operation operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c's status
2020/10/27 13:38:06 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:06 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:06 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:06 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:06 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:06 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1cd8
{
"name": "operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
},
"done": true,
"response": {
"@type": "type.googleapis.com/google.api.serviceusage.v1.EnableServiceResponse",
"service": {
"name": "projects/347408376220/services/iam.googleapis.com",
"config": {
"name": "iam.googleapis.com",
"title": "Identity and Access Management (IAM) API",
"documentation": {
"summary": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.\n"
},
"quota": {},
"authentication": {},
"legacy": {
"apiV1Name": "iam",
"devconsole": {
"learnmoreUrl": "https://cloud.google.com/iam/",
"consoleApi": "NEW"
}
},
"usage": {
"requirements": [
"serviceusage.googleapis.com/tos/cloud"
],
"serviceAccess": "PUBLIC"
},
"monitoredResources": [
{
"type": "iam.googleapis.com/service_account",
"labels": [
{
"key": "cloud.googleapis.com/uid",
"description": "Internally used to shard metrics."
},
{
"key": "cloud.googleapis.com/project",
"description": "The project that owns the service account."
},
{
"key": "cloud.googleapis.com/location",
"description": "The region of the service account."
},
{
"key": "iam.googleapis.com/unique_id",
"description": "The unique_id of the service account."
}
]
},
{
"type": "serviceruntime.googleapis.com/api",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "serviceruntime.googleapis.com/api_version"
},
{
"key": "serviceruntime.googleapis.com/api_method"
},
{
"key": "serviceruntime.googleapis.com/consumer_project"
},
{
"key": "cloud.googleapis.com/project"
},
{
"key": "cloud.googleapis.com/service"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/consumer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/producer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/consumer_resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
}
],
"monitoring": {
"consumerDestinations": [
{
"monitoredResource": "iam.googleapis.com/service_account",
"metrics": [
"iam.googleapis.com/service_account/authn_events_count",
"iam.googleapis.com/service_account/key/authn_events_count",
"iam.googleapis.com/service_account/authn_events_count_preprod",
"iam.googleapis.com/service_account/key/authn_events_count_preprod"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/api",
"metrics": [
"serviceruntime.googleapis.com/api/consumer/request_count",
"serviceruntime.googleapis.com/api/consumer/error_count",
"serviceruntime.googleapis.com/api/consumer/quota_used_count",
"serviceruntime.googleapis.com/api/consumer/quota_refund_count",
"serviceruntime.googleapis.com/api/consumer/total_latencies",
"serviceruntime.googleapis.com/api/consumer/request_overhead_latencies",
"serviceruntime.googleapis.com/api/consumer/backend_latencies",
"serviceruntime.googleapis.com/api/consumer/request_sizes",
"serviceruntime.googleapis.com/api/consumer/response_sizes",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_end_user",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_end_user_country",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_referer",
"serviceruntime.googleapis.com/quota/used",
"serviceruntime.googleapis.com/quota/limit",
"serviceruntime.googleapis.com/quota/exceeded",
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/consumer_quota",
"metrics": [
"serviceruntime.googleapis.com/quota/rate/consumer/used_count",
"serviceruntime.googleapis.com/quota/rate/consumer/refund_count",
"serviceruntime.googleapis.com/quota/allocation/consumer/usage",
"serviceruntime.googleapis.com/quota/consumer/limit",
"serviceruntime.googleapis.com/quota/consumer/exceeded"
]
}
]
},
"migration": {
"preferDistribDiscovery": true
},
"features": [
"googleprod.com/service/use-monarch",
"serviceusage.googleapis.com/skip-activation"
]
},
"state": "ENABLED",
"parent": "projects/347408376220"
}
}
}
0
-----------------------------------------------------
2020/10/27 13:38:06 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:06 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:06 [DEBUG] Got done: true while polling for operation operations/acf.bb3e8fea-cfc7-4f11-aab0-afe26129725c's status
2020/10/27 13:38:06 [DEBUG] Finished enabling next batch of 1 project services: [iam.googleapis.com]
2020/10/27 13:38:06 [DEBUG] Verifying that all services are enabled
2020/10/27 13:38:06 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:06 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:38:06 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:06 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:38:06 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:06 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:06 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:07 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:07 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d5
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
},
{
"name": "projects/347408376220/services/iam.googleapis.com"
},
{
"name": "projects/347408376220/services/iamcredentials.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:07 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:07 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:07 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:38:07 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:07 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:07 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:08 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:08 GMT
Server: ESF
Server-Timing: gfet4t7; dur=559
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:08 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:08 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:08 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:38:11 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:38:11 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:38:11 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:11 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:38:11 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:11 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:11 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:12 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:12 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d5
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
},
{
"name": "projects/347408376220/services/iam.googleapis.com"
},
{
"name": "projects/347408376220/services/iamcredentials.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:12 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:12 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:12 [DEBUG] Creating new KeyRing: map[string]interface {}(nil)
2020/10/27 13:38:12 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:12 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020/10/27 13:38:12 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:12 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:12 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings?alt=json&keyRingId=tf-test-qf349fovdr HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 0
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:12 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:12 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:12 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/serviceAccounts?alt=json&prettyPrint=false HTTP/1.1
Host: iam.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 114
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"accountId": "tf-test-8662078145750581389",
"serviceAccount": {
"displayName": "Kms Crypto Key Iam Testing Account"
}
}
-----------------------------------------------------
2020/10/27 13:38:12 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:12 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1a8
{
"name": "projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"projectId": "tf-test-4134736696257343334",
"uniqueId": "106642720273658524926",
"email": "tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"displayName": "Kms Crypto Key Iam Testing Account",
"etag": "MDEwMjE5MjA=",
"oauth2ClientId": "106642720273658524926"
}
0
-----------------------------------------------------
2020/10/27 13:38:12 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:12 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:12 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:12 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020/10/27 13:38:12 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:12 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:12 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com?alt=json&prettyPrint=false HTTP/1.1
Host: iam.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:13 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
99
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr",
"createTime": "2020-10-27T13:38:13.061266043Z"
}
0
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:13 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:13 [DEBUG] Finished creating KeyRing "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr": map[string]interface {}{"createTime":"2020-10-27T13:38:13.061266043Z", "name":"projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr"}
2020/10/27 13:38:13 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:13 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:13 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:13 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr?alt=json HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:13 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1a8
{
"name": "projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"projectId": "tf-test-4134736696257343334",
"uniqueId": "106642720273658524926",
"email": "tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"displayName": "Kms Crypto Key Iam Testing Account",
"etag": "MDEwMjE5MjA=",
"oauth2ClientId": "106642720273658524926"
}
0
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:13 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:13 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020/10/27 13:38:13 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:13 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:13 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com?alt=json&prettyPrint=false HTTP/1.1
Host: iam.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:13 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
99
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr",
"createTime": "2020-10-27T13:38:13.061266043Z"
}
0
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:13 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:13 [DEBUG] setting computed for "version_template" from ComputedKeys
2020/10/27 13:38:13 [DEBUG] Creating new CryptoKey: map[string]interface {}{"purpose":"ENCRYPT_DECRYPT"}
2020/10/27 13:38:13 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:13 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:13 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:13 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys?alt=json&cryptoKeyId=tf-test-7u78i1zylj&skipInitialVersionCreation=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 30
Content-Type: application/json
Accept-Encoding: gzip
{
"purpose": "ENCRYPT_DECRYPT"
}
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:13 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1a8
{
"name": "projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"projectId": "tf-test-4134736696257343334",
"uniqueId": "106642720273658524926",
"email": "tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"displayName": "Kms Crypto Key Iam Testing Account",
"etag": "MDEwMjE5MjA=",
"oauth2ClientId": "106642720273658524926"
}
0
-----------------------------------------------------
2020/10/27 13:38:13 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:13 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:13 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/27 13:38:13 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/27 13:38:14 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:14 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2c5
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj",
"primary": {
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1",
"state": "ENABLED",
"createTime": "2020-10-27T13:38:14.565737132Z",
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION",
"generateTime": "2020-10-27T13:38:14.565737132Z"
},
"purpose": "ENCRYPT_DECRYPT",
"createTime": "2020-10-27T13:38:14.565737132Z",
"versionTemplate": {
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:14 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:14 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:14 [DEBUG] Finished creating CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj": map[string]interface {}{"createTime":"2020-10-27T13:38:14.565737132Z", "name":"projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj", "primary":map[string]interface {}{"algorithm":"GOOGLE_SYMMETRIC_ENCRYPTION", "createTime":"2020-10-27T13:38:14.565737132Z", "generateTime":"2020-10-27T13:38:14.565737132Z", "name":"projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1", "protectionLevel":"SOFTWARE", "state":"ENABLED"}, "purpose":"ENCRYPT_DECRYPT", "versionTemplate":map[string]interface {}{"algorithm":"GOOGLE_SYMMETRIC_ENCRYPTION", "protectionLevel":"SOFTWARE"}}
2020/10/27 13:38:14 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:14 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:14 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:14 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj?alt=json HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:15 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:15 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2c5
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj",
"primary": {
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1",
"state": "ENABLED",
"createTime": "2020-10-27T13:38:14.565737132Z",
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION",
"generateTime": "2020-10-27T13:38:14.565737132Z"
},
"purpose": "ENCRYPT_DECRYPT",
"createTime": "2020-10-27T13:38:14.565737132Z",
"versionTemplate": {
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:15 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:15 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:15 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:15 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:15 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:15 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj:setIamPolicy?alt=json&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 363
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"policy": {
"bindings": [
{
"condition": {
"description": "Expiring at midnight of 2019-12-31",
"expression": "request.time \u003c timestamp(\"2020-01-01T00:00:00Z\")",
"title": "expires_after_2019_12_31"
},
"members": [
"serviceAccount:tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com"
],
"role": "roles/cloudkms.cryptoKeyEncrypter"
}
],
"version": 3
}
}
-----------------------------------------------------
2020/10/27 13:38:16 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:16 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
175
{
"version": 3,
"etag": "BwWypyi8ijo=",
"bindings": [
{
"role": "roles/cloudkms.cryptoKeyEncrypter",
"members": [
"serviceAccount:tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com"
],
"condition": {
"expression": "request.time \u003c timestamp(\"2020-01-01T00:00:00Z\")",
"title": "expires_after_2019_12_31",
"description": "Expiring at midnight of 2019-12-31"
}
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:16 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:16 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:16 [DEBUG] Locking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:16 [DEBUG] Locked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:16 [DEBUG] Retrieving policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:16 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:16 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:16 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:16 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:16 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj:getIamPolicy?alt=json&options.requestedPolicyVersion=3&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:17 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:17 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
175
{
"version": 3,
"etag": "BwWypyi8ijo=",
"bindings": [
{
"role": "roles/cloudkms.cryptoKeyEncrypter",
"members": [
"serviceAccount:tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com"
],
"condition": {
"expression": "request.time \u003c timestamp(\"2020-01-01T00:00:00Z\")",
"title": "expires_after_2019_12_31",
"description": "Expiring at midnight of 2019-12-31"
}
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:17 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:17 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:17 [DEBUG] Retrieved policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj": &{AuditConfigs:[] Bindings:[0xc00047cee0] Etag:BwWypyi8ijo= Version:3 ServerResponse:{HTTPStatusCode:200 Header:map[Alt-Svc:[h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"] Cache-Control:[private] Content-Type:[application/json; charset=UTF-8] Date:[Tue, 27 Oct 2020 13:38:17 GMT] Server:[ESF] Vary:[Origin X-Origin Referer] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[0]]} ForceSendFields:[] NullFields:[]}
2020/10/27 13:38:17 [DEBUG] Unlocking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:17 [DEBUG] Unlocked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:21 [INFO] Authenticating using DefaultClient...
2020/10/27 13:38:21 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:38:25 [INFO] Authenticating using DefaultClient...
2020/10/27 13:38:25 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:38:25 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:25 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:38:25 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:25 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:25 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:26 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:25 GMT
Server: ESF
Server-Timing: gfet4t7; dur=554
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:26 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:26 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:26 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:26 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020/10/27 13:38:26 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:26 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:26 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/billingInfo?alt=json&prettyPrint=false HTTP/1.1
Host: cloudbilling.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:26 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:26 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
b7
{
"name": "projects/tf-test-4134736696257343334/billingInfo",
"projectId": "tf-test-4134736696257343334",
"billingAccountName": "billingAccounts/015A88-97C32E-AA6039",
"billingEnabled": true
}
0
-----------------------------------------------------
2020/10/27 13:38:26 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:26 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:26 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:38:26 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:26 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:26 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:27 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:27 GMT
Server: ESF
Server-Timing: gfet4t7; dur=557
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:27 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:27 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:27 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:38:30 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:38:30 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:38:30 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:30 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:38:30 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:30 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:30 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:31 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:31 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d5
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
},
{
"name": "projects/347408376220/services/iam.googleapis.com"
},
{
"name": "projects/347408376220/services/iamcredentials.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:31 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:31 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:31 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:38:31 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:31 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:31 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:32 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:32 GMT
Server: ESF
Server-Timing: gfet4t7; dur=555
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d7
{
"projectNumber": "347408376220",
"projectId": "tf-test-4134736696257343334",
"lifecycleState": "ACTIVE",
"name": "Test project",
"createTime": "2020-10-27T13:36:53.393Z",
"parent": {
"type": "organization",
"id": "684510004702"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:32 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:32 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:32 [DEBUG] Creating new batch "List Project Services tf-test-4134736696257343334" from request "project/tf-test-4134736696257343334/services"
2020/10/27 13:38:35 [DEBUG] Sending batch "project/tf-test-4134736696257343334/services" combining 1 requests)
2020/10/27 13:38:35 [DEBUG] Listing enabled services for project tf-test-4134736696257343334
2020/10/27 13:38:35 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:35 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:38:35 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:35 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:35 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/services?alt=json&fields=services%2Fname%2CnextPageToken&filter=state%3AENABLED&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:35 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:35 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
d5
{
"services": [
{
"name": "projects/347408376220/services/cloudkms.googleapis.com"
},
{
"name": "projects/347408376220/services/iam.googleapis.com"
},
{
"name": "projects/347408376220/services/iamcredentials.googleapis.com"
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:35 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:35 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:35 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020/10/27 13:38:35 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:35 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:35 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:35 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:35 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:35 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com?alt=json&prettyPrint=false HTTP/1.1
Host: iam.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:35 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr?alt=json HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:36 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:36 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1a8
{
"name": "projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"projectId": "tf-test-4134736696257343334",
"uniqueId": "106642720273658524926",
"email": "tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com",
"displayName": "Kms Crypto Key Iam Testing Account",
"etag": "MDEwMjE5MjA=",
"oauth2ClientId": "106642720273658524926"
}
0
-----------------------------------------------------
2020/10/27 13:38:36 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:36 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:36 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/27 13:38:36 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
2020/10/27 13:38:36 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:36 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
99
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr",
"createTime": "2020-10-27T13:38:13.061266043Z"
}
0
-----------------------------------------------------
2020/10/27 13:38:36 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:36 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:36 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:36 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:36 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:36 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj?alt=json HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:37 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:37 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2c5
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj",
"primary": {
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1",
"state": "ENABLED",
"createTime": "2020-10-27T13:38:14.565737132Z",
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION",
"generateTime": "2020-10-27T13:38:14.565737132Z"
},
"purpose": "ENCRYPT_DECRYPT",
"createTime": "2020-10-27T13:38:14.565737132Z",
"versionTemplate": {
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:37 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:37 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:37 [DEBUG] Locking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:37 [DEBUG] Locked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:37 [DEBUG] Retrieving policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:37 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:37 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:37 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:37 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:37 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj:getIamPolicy?alt=json&options.requestedPolicyVersion=3&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:38 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:38 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
175
{
"version": 3,
"etag": "BwWypyi8ijo=",
"bindings": [
{
"role": "roles/cloudkms.cryptoKeyEncrypter",
"members": [
"serviceAccount:tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com"
],
"condition": {
"expression": "request.time \u003c timestamp(\"2020-01-01T00:00:00Z\")",
"title": "expires_after_2019_12_31",
"description": "Expiring at midnight of 2019-12-31"
}
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:38 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:38 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:38 [DEBUG] Retrieved policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj": &{AuditConfigs:[] Bindings:[0xc000334a10] Etag:BwWypyi8ijo= Version:3 ServerResponse:{HTTPStatusCode:200 Header:map[Alt-Svc:[h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"] Cache-Control:[private] Content-Type:[application/json; charset=UTF-8] Date:[Tue, 27 Oct 2020 13:38:38 GMT] Server:[ESF] Vary:[Origin X-Origin Referer] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[0]]} ForceSendFields:[] NullFields:[]}
2020/10/27 13:38:38 [DEBUG] Unlocking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:38 [DEBUG] Unlocked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:40 [INFO] Authenticating using DefaultClient...
2020/10/27 13:38:40 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:38:49 [INFO] Authenticating using DefaultClient...
2020/10/27 13:38:49 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:38:49 [DEBUG] Locking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:49 [DEBUG] Locked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:49 [DEBUG] Retrieving policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:49 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:49 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:49 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:49 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:49 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj:getIamPolicy?alt=json&options.requestedPolicyVersion=3&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:50 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:50 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
175
{
"version": 3,
"etag": "BwWypyi8ijo=",
"bindings": [
{
"role": "roles/cloudkms.cryptoKeyEncrypter",
"members": [
"serviceAccount:tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com"
],
"condition": {
"expression": "request.time \u003c timestamp(\"2020-01-01T00:00:00Z\")",
"title": "expires_after_2019_12_31",
"description": "Expiring at midnight of 2019-12-31"
}
}
]
}
0
-----------------------------------------------------
2020/10/27 13:38:50 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:50 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:50 [DEBUG] Retrieved policy for KMS CryptoKey "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj": &{AuditConfigs:[] Bindings:[0xc000f3aa10] Etag:BwWypyi8ijo= Version:3 ServerResponse:{HTTPStatusCode:200 Header:map[Alt-Svc:[h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"] Cache-Control:[private] Content-Type:[application/json; charset=UTF-8] Date:[Tue, 27 Oct 2020 13:38:50 GMT] Server:[ESF] Vary:[Origin X-Origin Referer] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[0]]} ForceSendFields:[] NullFields:[]}
2020/10/27 13:38:50 [DEBUG] Unlocking "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:50 [DEBUG] Unlocked "iam-kms-crypto-key-projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj"
2020/10/27 13:38:55 [INFO] Authenticating using DefaultClient...
2020/10/27 13:38:55 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020/10/27 13:38:55 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:55 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:55 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:55 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj:setIamPolicy?alt=json&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 47
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{
"policy": {
"etag": "BwWypyi8ijo=",
"version": 3
}
}
-----------------------------------------------------
2020/10/27 13:38:56 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:56 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
23
{
"version": 1,
"etag": "BwWypyskWOQ="
}
0
-----------------------------------------------------
2020/10/27 13:38:56 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:56 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:56
[WARNING] KMS CryptoKey resources cannot be deleted from GCP. The CryptoKey projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj will be removed from Terraform state,
and all its CryptoKeyVersions will be destroyed, but it will still be present in the project.
2020/10/27 13:38:56 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020/10/27 13:38:56 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:56 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:56 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions?alt=json&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:56 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020/10/27 13:38:56 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:56 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:56 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
DELETE /v1/projects/tf-test-4134736696257343334/serviceAccounts/tf-test-8662078145750581389@tf-test-4134736696257343334.iam.gserviceaccount.com?alt=json&prettyPrint=false HTTP/1.1
Host: iam.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:38:57 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:57 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2
{}
0
-----------------------------------------------------
2020/10/27 13:38:57 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:57 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:57 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:57 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
170
{
"cryptoKeyVersions": [
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1",
"state": "ENABLED",
"createTime": "2020-10-27T13:38:14.565737132Z",
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION",
"generateTime": "2020-10-27T13:38:14.565737132Z"
}
],
"totalSize": 1
}
0
-----------------------------------------------------
2020/10/27 13:38:57 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:57 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:57 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:57 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:57 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1:destroy?alt=json&prettyPrint=false HTTP/1.1
Host: cloudkms.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 3
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{}
-----------------------------------------------------
2020/10/27 13:38:58 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:58 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
180
{
"name": "projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr/cryptoKeys/tf-test-7u78i1zylj/cryptoKeyVersions/1",
"state": "DESTROY_SCHEDULED",
"createTime": "2020-10-27T13:38:14.565737132Z",
"destroyTime": "2020-10-28T13:38:58.221297Z",
"protectionLevel": "SOFTWARE",
"algorithm": "GOOGLE_SYMMETRIC_ENCRYPTION",
"generateTime": "2020-10-27T13:38:14.565737132Z"
}
0
-----------------------------------------------------
2020/10/27 13:38:58 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:58 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:58 [WARNING] KMS KeyRing resources cannot be deleted from Google Cloud. The resource projects/tf-test-4134736696257343334/locations/us-central1/keyRings/tf-test-qf349fovdr will be removed from Terraform state, but will still be present on Google Cloud.
2020/10/27 13:38:58 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:58 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:38:58 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:58 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:58 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/services/iam.googleapis.com:disable?alt=json&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 3
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{}
-----------------------------------------------------
2020/10/27 13:38:59 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:38:59 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
7d
{
"name": "operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Any"
}
}
0
-----------------------------------------------------
2020/10/27 13:38:59 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:38:59 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:38:59 [DEBUG] Waiting for state to become: [done: true]
2020/10/27 13:38:59 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:38:59 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:38:59 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:38:59 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:39:00 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:00 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
92
{
"name": "operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
0
-----------------------------------------------------
2020/10/27 13:39:00 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:00 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:39:00 [DEBUG] Got done: false while polling for operation operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500's status
2020/10/27 13:39:10 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:39:10 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:39:10 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:39:10 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:39:11 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:11 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1cda
{
"name": "operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
},
"done": true,
"response": {
"@type": "type.googleapis.com/google.api.serviceusage.v1.DisableServiceResponse",
"service": {
"name": "projects/347408376220/services/iam.googleapis.com",
"config": {
"name": "iam.googleapis.com",
"title": "Identity and Access Management (IAM) API",
"documentation": {
"summary": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.\n"
},
"quota": {},
"authentication": {},
"legacy": {
"apiV1Name": "iam",
"devconsole": {
"learnmoreUrl": "https://cloud.google.com/iam/",
"consoleApi": "NEW"
}
},
"usage": {
"requirements": [
"serviceusage.googleapis.com/tos/cloud"
],
"serviceAccess": "PUBLIC"
},
"monitoredResources": [
{
"type": "iam.googleapis.com/service_account",
"labels": [
{
"key": "cloud.googleapis.com/uid",
"description": "Internally used to shard metrics."
},
{
"key": "cloud.googleapis.com/project",
"description": "The project that owns the service account."
},
{
"key": "cloud.googleapis.com/location",
"description": "The region of the service account."
},
{
"key": "iam.googleapis.com/unique_id",
"description": "The unique_id of the service account."
}
]
},
{
"type": "serviceruntime.googleapis.com/api",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "serviceruntime.googleapis.com/api_version"
},
{
"key": "serviceruntime.googleapis.com/api_method"
},
{
"key": "serviceruntime.googleapis.com/consumer_project"
},
{
"key": "cloud.googleapis.com/project"
},
{
"key": "cloud.googleapis.com/service"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/consumer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/producer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/consumer_resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
}
],
"monitoring": {
"consumerDestinations": [
{
"monitoredResource": "iam.googleapis.com/service_account",
"metrics": [
"iam.googleapis.com/service_account/authn_events_count",
"iam.googleapis.com/service_account/key/authn_events_count",
"iam.googleapis.com/service_account/authn_events_count_preprod",
"iam.googleapis.com/service_account/key/authn_events_count_preprod"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/api",
"metrics": [
"serviceruntime.googleapis.com/api/consumer/request_count",
"serviceruntime.googleapis.com/api/consumer/error_count",
"serviceruntime.googleapis.com/api/consumer/quota_used_count",
"serviceruntime.googleapis.com/api/consumer/quota_refund_count",
"serviceruntime.googleapis.com/api/consumer/total_latencies",
"serviceruntime.googleapis.com/api/consumer/request_overhead_latencies",
"serviceruntime.googleapis.com/api/consumer/backend_latencies",
"serviceruntime.googleapis.com/api/consumer/request_sizes",
"serviceruntime.googleapis.com/api/consumer/response_sizes",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_end_user",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_end_user_country",
"serviceruntime.googleapis.com/api/consumer/top_request_count_by_referer",
"serviceruntime.googleapis.com/quota/used",
"serviceruntime.googleapis.com/quota/limit",
"serviceruntime.googleapis.com/quota/exceeded",
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/consumer_quota",
"metrics": [
"serviceruntime.googleapis.com/quota/rate/consumer/used_count",
"serviceruntime.googleapis.com/quota/rate/consumer/refund_count",
"serviceruntime.googleapis.com/quota/allocation/consumer/usage",
"serviceruntime.googleapis.com/quota/consumer/limit",
"serviceruntime.googleapis.com/quota/consumer/exceeded"
]
}
]
},
"migration": {
"preferDistribDiscovery": true
},
"features": [
"googleprod.com/service/use-monarch",
"serviceusage.googleapis.com/skip-activation"
]
},
"state": "DISABLED",
"parent": "projects/347408376220"
}
}
}
0
-----------------------------------------------------
2020/10/27 13:39:11 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:11 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:39:11 [DEBUG] Got done: true while polling for operation operations/acf.3dc1dcea-b0df-4815-bc69-22d515dd6500's status
2020/10/27 13:39:11 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:39:11 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020/10/27 13:39:11 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:39:11 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:39:11 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/tf-test-4134736696257343334/services/cloudkms.googleapis.com:disable?alt=json&prettyPrint=false HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Length: 3
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
{}
-----------------------------------------------------
2020/10/27 13:39:12 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:12 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
7d
{
"name": "operations/acf.eb26d48d-0905-4529-9759-efb70969135e",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Any"
}
}
0
-----------------------------------------------------
2020/10/27 13:39:12 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:12 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:39:12 [DEBUG] Waiting for state to become: [done: true]
2020/10/27 13:39:12 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:39:12 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:39:12 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:39:12 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.eb26d48d-0905-4529-9759-efb70969135e?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:39:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:13 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
92
{
"name": "operations/acf.eb26d48d-0905-4529-9759-efb70969135e",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
0
-----------------------------------------------------
2020/10/27 13:39:13 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:13 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:39:13 [DEBUG] Got done: false while polling for operation operations/acf.eb26d48d-0905-4529-9759-efb70969135e's status
2020/10/27 13:39:23 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:39:23 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:39:23 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:39:23 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v1beta1/operations/acf.eb26d48d-0905-4529-9759-efb70969135e?alt=json HTTP/1.1
Host: serviceusage.googleapis.com
User-Agent: Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:39:24 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:24 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
1493
{
"name": "operations/acf.eb26d48d-0905-4529-9759-efb70969135e",
"metadata": {
"@type": "type.googleapis.com/google.protobuf.Empty"
},
"done": true,
"response": {
"@type": "type.googleapis.com/google.api.serviceusage.v1.DisableServiceResponse",
"service": {
"name": "projects/347408376220/services/cloudkms.googleapis.com",
"config": {
"name": "cloudkms.googleapis.com",
"title": "Cloud Key Management Service (KMS) API",
"documentation": {
"summary": "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.\n"
},
"quota": {},
"authentication": {},
"legacy": {
"apiV1Name": "cloudkms.googleapis.com",
"devconsole": {
"learnmoreUrl": "https://cloud.google.com/kms/"
}
},
"usage": {
"requirements": [
"serviceusage.googleapis.com/tos/cloud"
],
"serviceAccess": "PUBLIC"
},
"monitoredResources": [
{
"type": "cloudkms.googleapis.com/analytics"
},
{
"type": "serviceruntime.googleapis.com/api",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "serviceruntime.googleapis.com/api_version"
},
{
"key": "serviceruntime.googleapis.com/api_method"
},
{
"key": "serviceruntime.googleapis.com/consumer_project"
},
{
"key": "cloud.googleapis.com/project"
},
{
"key": "cloud.googleapis.com/service"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/consumer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
},
{
"type": "serviceruntime.googleapis.com/producer_quota",
"labels": [
{
"key": "cloud.googleapis.com/location"
},
{
"key": "cloud.googleapis.com/uid"
},
{
"key": "cloud.googleapis.com/service"
},
{
"key": "cloud.googleapis.com/resource_id"
},
{
"key": "cloud.googleapis.com/resource_node"
},
{
"key": "cloud.googleapis.com/consumer_resource_node"
},
{
"key": "cloud.googleapis.com/quota_metric"
},
{
"key": "cloud.googleapis.com/quota_location"
}
],
"monitoringMigration": {
"monitoringBackend": "CLOUD_MONARCH"
}
}
],
"monitoring": {
"consumerDestinations": [
{
"monitoredResource": "serviceruntime.googleapis.com/api",
"metrics": [
"serviceruntime.googleapis.com/api/consumer/quota_used_count",
"serviceruntime.googleapis.com/api/consumer/quota_refund_count",
"serviceruntime.googleapis.com/quota/used",
"serviceruntime.googleapis.com/quota/limit",
"serviceruntime.googleapis.com/quota/exceeded",
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
]
},
{
"monitoredResource": "serviceruntime.googleapis.com/consumer_quota",
"metrics": [
"serviceruntime.googleapis.com/quota/rate/consumer/used_count",
"serviceruntime.googleapis.com/quota/rate/consumer/refund_count",
"serviceruntime.googleapis.com/quota/allocation/consumer/usage",
"serviceruntime.googleapis.com/quota/consumer/limit",
"serviceruntime.googleapis.com/quota/consumer/exceeded"
]
}
]
},
"migration": {},
"features": [
"googleprod.com/service/use-monarch"
]
},
"state": "DISABLED",
"parent": "projects/347408376220"
}
}
}
0
-----------------------------------------------------
2020/10/27 13:39:24 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:24 [DEBUG] Retry Transport: Returning after 1 attempts
2020/10/27 13:39:24 [DEBUG] Got done: true while polling for operation operations/acf.eb26d48d-0905-4529-9759-efb70969135e's status
2020/10/27 13:39:24 [DEBUG] Waiting for state to become: [success]
2020/10/27 13:39:24 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020/10/27 13:39:24 [DEBUG] Retry Transport: starting RoundTrip retry loop
2020/10/27 13:39:24 [DEBUG] Retry Transport: request attempt 0
2020/10/27 13:39:24 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
DELETE /v1/projects/tf-test-4134736696257343334?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.12.29 (+https://www.terraform.io) Terraform-Plugin-SDK/2.0.3 terraform-provider-google-beta/acc
X-Goog-Api-Client: gl-go/1.14.4 gdcl/20201023
Accept-Encoding: gzip
-----------------------------------------------------
2020/10/27 13:39:27 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 27 Oct 2020 13:39:27 GMT
Server: ESF
Server-Timing: gfet4t7; dur=3123
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2
{}
0
-----------------------------------------------------
2020/10/27 13:39:27 [DEBUG] Retry Transport: Stopping retries, last request was successful
2020/10/27 13:39:27 [DEBUG] Retry Transport: Returning after 1 attempts
--- PASS: TestAccKmsCryptoKeyIamPolicy_withCondition (170.71s)
PASS
ok github.com/hashicorp/terraform-provider-google-beta/google-beta 172.554s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment