Skip to content

Instantly share code, notes, and snippets.

@juliocc
Created February 22, 2021 09:18
Show Gist options
  • Save juliocc/0da1bc5d42a995c71df525203863b32f to your computer and use it in GitHub Desktop.
Save juliocc/0da1bc5d42a995c71df525203863b32f to your computer and use it in GitHub Desktop.
$ TF_LOG=DEBUG terraform apply
2021/02/22 10:15:11 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/02/22 10:15:11 [INFO] Terraform version: 0.14.7
2021/02/22 10:15:11 [INFO] Go runtime version: go1.15.8
2021/02/22 10:15:11 [INFO] CLI args: []string{"/Users/jccb/homebrew/bin/terraform", "apply"}
2021/02/22 10:15:11 [DEBUG] Attempting to open CLI config file: /Users/jccb/.terraformrc
2021/02/22 10:15:11 Loading CLI configuration from /Users/jccb/.terraformrc
2021/02/22 10:15:11 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/02/22 10:15:11 [DEBUG] ignoring non-existing provider search directory /Users/jccb/.terraform.d/plugins
2021/02/22 10:15:11 [DEBUG] ignoring non-existing provider search directory /Users/jccb/Library/Application Support/io.terraform/plugins
2021/02/22 10:15:11 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/02/22 10:15:11 [INFO] CLI command args: []string{"apply"}
2021/02/22 10:15:11 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/02/22 10:15:11 [DEBUG] New state was assigned lineage "17d141f7-d421-e075-29b3-09f90edd5761"
2021/02/22 10:15:11 [DEBUG] checking for provisioner in "."
2021/02/22 10:15:11 [DEBUG] checking for provisioner in "/Users/jccb/homebrew/bin"
2021/02/22 10:15:11 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2021/02/22 10:15:11 [INFO] backend/local: starting Apply operation
2021-02-22T10:15:11.431+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:11.454+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5]
2021-02-22T10:15:11.459+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10502
2021-02-22T10:15:11.459+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5
2021-02-22T10:15:11.480+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:11.480+0100
2021-02-22T10:15:11.507+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:11.507+0100 [DEBUG] plugin.terraform-provider-google_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin324645645 network=unix timestamp=2021-02-22T10:15:11.507+0100
2021-02-22T10:15:11.595+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:11.597+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10502
2021-02-22T10:15:11.597+0100 [DEBUG] plugin: plugin exited
2021-02-22T10:15:11.597+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:11.622+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5]
2021-02-22T10:15:11.629+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10503
2021-02-22T10:15:11.629+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5
2021-02-22T10:15:11.653+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:11.653+0100
2021-02-22T10:15:11.682+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin242099458 network=unix timestamp=2021-02-22T10:15:11.682+0100
2021-02-22T10:15:11.682+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:11.782+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:11.784+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10503
2021-02-22T10:15:11.784+0100 [DEBUG] plugin: plugin exited
2021/02/22 10:15:11 [INFO] terraform: building graph: GraphTypeValidate
2021/02/22 10:15:11 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_folder.folder
2021/02/22 10:15:11 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google-beta"], implied first by google_essential_contacts_contact.contact
2021/02/22 10:15:11 [DEBUG] ProviderTransformer: "google_folder.folder" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/02/22 10:15:11 [DEBUG] ProviderTransformer: "google_essential_contacts_contact.contact" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google-beta"]
2021/02/22 10:15:11 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/02/22 10:15:11 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google-beta\"]" references: []
2021/02/22 10:15:11 [DEBUG] ReferenceTransformer: "google_folder.folder" references: []
2021/02/22 10:15:11 [DEBUG] ReferenceTransformer: "google_essential_contacts_contact.contact" references: [google_folder.folder]
2021/02/22 10:15:11 [DEBUG] Starting graph walk: walkValidate
2021-02-22T10:15:11.786+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:11.809+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5]
2021-02-22T10:15:11.816+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10504
2021-02-22T10:15:11.816+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5
2021-02-22T10:15:11.837+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:11.837+0100
2021-02-22T10:15:11.864+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:11.864+0100 [DEBUG] plugin.terraform-provider-google_v3.57.0_x5: plugin address: network=unix address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin289035095 timestamp=2021-02-22T10:15:11.864+0100
2021-02-22T10:15:11.914+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:11.939+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5]
2021-02-22T10:15:11.948+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10505
2021-02-22T10:15:11.948+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5
2021-02-22T10:15:11.971+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:11.970+0100
2021-02-22T10:15:11.998+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:11.998+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin851131772 network=unix timestamp=2021-02-22T10:15:11.998+0100
2021-02-22T10:15:12.049+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:12.051+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10504
2021-02-22T10:15:12.051+0100 [DEBUG] plugin: plugin exited
2021-02-22T10:15:12.125+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:12.126+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10505
2021-02-22T10:15:12.126+0100 [DEBUG] plugin: plugin exited
2021/02/22 10:15:12 [INFO] backend/local: apply calling Plan
2021/02/22 10:15:12 [INFO] terraform: building graph: GraphTypePlan
2021/02/22 10:15:12 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_folder.folder (expand)
2021/02/22 10:15:12 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google-beta"], implied first by google_essential_contacts_contact.contact (expand)
2021/02/22 10:15:12 [DEBUG] ProviderTransformer: "google_folder.folder (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/02/22 10:15:12 [DEBUG] ProviderTransformer: "google_essential_contacts_contact.contact (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google-beta"]
2021/02/22 10:15:12 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google-beta\"]" references: []
2021/02/22 10:15:12 [DEBUG] ReferenceTransformer: "google_folder.folder (expand)" references: []
2021/02/22 10:15:12 [DEBUG] ReferenceTransformer: "google_essential_contacts_contact.contact (expand)" references: [google_folder.folder (expand)]
2021/02/22 10:15:12 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/02/22 10:15:12 [DEBUG] Starting graph walk: walkPlan
2021-02-22T10:15:12.128+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:12.152+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5]
2021-02-22T10:15:12.159+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10506
2021-02-22T10:15:12.159+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5
2021-02-22T10:15:12.180+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:12.180+0100
2021-02-22T10:15:12.207+0100 [DEBUG] plugin.terraform-provider-google_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin633760425 network=unix timestamp=2021-02-22T10:15:12.207+0100
2021-02-22T10:15:12.207+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:12.257+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:12.284+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5]
2021-02-22T10:15:12.291+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10507
2021-02-22T10:15:12.291+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5
2021-02-22T10:15:12.315+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:12.314+0100
2021-02-22T10:15:12.341+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:12.341+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin092616870 network=unix timestamp=2021-02-22T10:15:12.341+0100
2021-02-22T10:15:12.388+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [INFO] Authenticating using DefaultClient...: timestamp=2021-02-22T10:15:12.388+0100
2021-02-22T10:15:12.388+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [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]: timestamp=2021-02-22T10:15:12.388+0100
2021/02/22 10:15:12 [DEBUG] ReferenceTransformer: "google_folder.folder" references: []
google_folder.folder: Refreshing state... [id=folders/732489710015]
2021-02-22T10:15:12.391+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [DEBUG] Waiting for state to become: [success]: timestamp=2021-02-22T10:15:12.391+0100
2021-02-22T10:15:12.391+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [INFO] Instantiating Google Cloud ResourceManager V client for path https://cloudresourcemanager.googleapis.com/: timestamp=2021-02-22T10:15:12.391+0100
2021-02-22T10:15:12.391+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-02-22T10:15:12.391+0100
2021-02-22T10:15:12.391+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-02-22T10:15:12.391+0100
2021-02-22T10:15:12.391+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:12 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/folders/732489710015?alt=json&prettyPrint=false HTTP/1.1
Host: cloudresourcemanager.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.14.7 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google/dev
X-Goog-Api-Client: gl-go/1.14.5 gdcl/20210128
Accept-Encoding: gzip
-----------------------------------------------------: timestamp=2021-02-22T10:15:12.391+0100
2021-02-22T10:15:12.438+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:12 [INFO] Authenticating using DefaultClient...: timestamp=2021-02-22T10:15:12.437+0100
2021-02-22T10:15:12.438+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:12 [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]: timestamp=2021-02-22T10:15:12.437+0100
2021-02-22T10:15:13.379+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:13 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":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: Mon, 22 Feb 2021 09:15:13 GMT
Server: ESF
Server-Timing: gfet4t7; dur=719
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
{
"name": "folders/732489710015",
"parent": "folders/657104291943",
"displayName": "Essential contacts test",
"lifecycleState": "ACTIVE",
"createTime": "2021-02-22T09:07:28.374Z"
}
-----------------------------------------------------: timestamp=2021-02-22T10:15:13.379+0100
2021-02-22T10:15:13.379+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:13 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-02-22T10:15:13.379+0100
2021-02-22T10:15:13.379+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:13 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-02-22T10:15:13.379+0100
2021/02/22 10:15:13 [DEBUG] Resource instance state not found for node "google_essential_contacts_contact.contact", instance google_essential_contacts_contact.contact
2021/02/22 10:15:13 [DEBUG] ReferenceTransformer: "google_essential_contacts_contact.contact" references: []
2021-02-22T10:15:13.383+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:13.386+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10506
2021-02-22T10:15:13.386+0100 [DEBUG] plugin: plugin exited
2021/02/22 10:15:13 [DEBUG] refresh: google_essential_contacts_contact.contact: no state, so not refreshing
2021-02-22T10:15:13.389+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:13.391+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10507
2021-02-22T10:15:13.391+0100 [DEBUG] plugin: plugin exited
An execution plan has been generated and is shown below.
2021/02/22 10:15:13 [DEBUG] command: asking for input: "Do you want to perform these actions?"
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# google_essential_contacts_contact.contact will be created
+ resource "google_essential_contacts_contact" "contact" {
+ email = "juliocc@gmail.com"
+ id = (known after apply)
+ name = (known after apply)
+ notification_category_subscriptions = [
+ "ALL",
]
+ parent = "folders/732489710015"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2021/02/22 10:15:14 [INFO] backend/local: apply calling Apply
2021/02/22 10:15:14 [INFO] terraform: building graph: GraphTypeApply
2021/02/22 10:15:14 [DEBUG] Resource state not found for node "google_essential_contacts_contact.contact", instance google_essential_contacts_contact.contact
2021/02/22 10:15:14 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_folder.folder (expand)
2021/02/22 10:15:14 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google-beta"], implied first by google_essential_contacts_contact.contact (expand)
2021/02/22 10:15:14 [DEBUG] ProviderTransformer: "google_folder.folder (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/02/22 10:15:14 [DEBUG] ProviderTransformer: "google_essential_contacts_contact.contact (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google-beta"]
2021/02/22 10:15:14 [DEBUG] ProviderTransformer: "google_essential_contacts_contact.contact" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google-beta"]
2021/02/22 10:15:14 [DEBUG] ReferenceTransformer: "google_essential_contacts_contact.contact" references: [google_folder.folder (expand)]
2021/02/22 10:15:14 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/02/22 10:15:14 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google-beta\"]" references: []
2021/02/22 10:15:14 [DEBUG] ReferenceTransformer: "google_folder.folder (expand)" references: []
2021/02/22 10:15:14 [DEBUG] ReferenceTransformer: "google_essential_contacts_contact.contact (expand)" references: []
2021/02/22 10:15:14 [DEBUG] Starting graph walk: walkApply
2021-02-22T10:15:14.733+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:14.763+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5]
2021-02-22T10:15:14.770+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10513
2021-02-22T10:15:14.770+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5
2021-02-22T10:15:14.797+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:14.797+0100
2021-02-22T10:15:14.829+0100 [DEBUG] plugin.terraform-provider-google_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin250748020 network=unix timestamp=2021-02-22T10:15:14.829+0100
2021-02-22T10:15:14.829+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:14.893+0100 [INFO] plugin: configuring client automatic mTLS
2021-02-22T10:15:14.920+0100 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5]
2021-02-22T10:15:14.927+0100 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10514
2021-02-22T10:15:14.928+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5
2021-02-22T10:15:14.952+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: configuring server automatic mTLS: timestamp=2021-02-22T10:15:14.951+0100
2021-02-22T10:15:14.980+0100 [DEBUG] plugin: using plugin: version=5
2021-02-22T10:15:14.980+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.57.0_x5: plugin address: address=/var/folders/dg/tq_plv2j6_5_b8mllqmry0ch008hkr/T/plugin503978441 network=unix timestamp=2021-02-22T10:15:14.980+0100
2021-02-22T10:15:15.031+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:15 [INFO] Authenticating using DefaultClient...: timestamp=2021-02-22T10:15:15.031+0100
2021-02-22T10:15:15.031+0100 [INFO] plugin.terraform-provider-google_v3.57.0_x5: 2021/02/22 10:15:15 [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]: timestamp=2021-02-22T10:15:15.031+0100
2021-02-22T10:15:15.032+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:15.034+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.57.0/darwin_amd64/terraform-provider-google_v3.57.0_x5 pid=10513
2021-02-22T10:15:15.034+0100 [DEBUG] plugin: plugin exited
2021-02-22T10:15:15.076+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [INFO] Authenticating using DefaultClient...: timestamp=2021-02-22T10:15:15.076+0100
2021-02-22T10:15:15.076+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [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]: timestamp=2021-02-22T10:15:15.076+0100
google_essential_contacts_contact.contact: Creating...
2021/02/22 10:15:15 [DEBUG] EvalApply: ProviderMeta config value set
2021/02/22 10:15:15 [DEBUG] google_essential_contacts_contact.contact: applying the planned Create change
2021-02-22T10:15:15.078+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [DEBUG] Creating new Contact: map[string]interface {}{"email":"juliocc@gmail.com", "notificationCategorySubscriptions":[]interface {}{"ALL"}}: timestamp=2021-02-22T10:15:15.078+0100
2021-02-22T10:15:15.079+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [DEBUG] Waiting for state to become: [success]: timestamp=2021-02-22T10:15:15.078+0100
2021-02-22T10:15:15.079+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-02-22T10:15:15.079+0100
2021-02-22T10:15:15.079+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-02-22T10:15:15.079+0100
2021-02-22T10:15:15.079+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:15 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1beta1/folders/732489710015/contacts?alt=json HTTP/1.1
Host: essentialcontacts.googleapis.com
User-Agent: Terraform/0.14.7 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/dev
Content-Length: 74
Content-Type: application/json
Accept-Encoding: gzip
{
"email": "juliocc@gmail.com",
"notificationCategorySubscriptions": [
"ALL"
]
}
-----------------------------------------------------: timestamp=2021-02-22T10:15:15.079+0100
2021-02-22T10:15:16.102+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:16 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 400 Bad Request
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":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: Mon, 22 Feb 2021 09:15:16 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
}
}
-----------------------------------------------------: timestamp=2021-02-22T10:15:16.102+0100
2021-02-22T10:15:16.102+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:16 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/2.0 400 Bad Request
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":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: Mon, 22 Feb 2021 09:15:16 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
}
}: timestamp=2021-02-22T10:15:16.102+0100
2021-02-22T10:15:16.102+0100 [INFO] plugin.terraform-provider-google-beta_v3.57.0_x5: 2021/02/22 10:15:16 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-02-22T10:15:16.102+0100
2021/02/22 10:15:16 [DEBUG] google_essential_contacts_contact.contact: apply errored, but we're indicating that via the Error pointer rather than returning it: Error creating Contact: googleapi: Error 400: Request contains an invalid argument.
Error: Error creating Contact: googleapi: Error 400: Request contains an invalid argument.
2021-02-22T10:15:16.131+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-22T10:15:16.134+0100 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google-beta/3.57.0/darwin_amd64/terraform-provider-google-beta_v3.57.0_x5 pid=10514
2021-02-22T10:15:16.134+0100 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment