Skip to content

Instantly share code, notes, and snippets.

@eahrend
Created April 5, 2021 18:43
Show Gist options
  • Save eahrend/7a73cc0c4c3ac6ea7f80417ff3b66226 to your computer and use it in GitHub Desktop.
Save eahrend/7a73cc0c4c3ac6ea7f80417ff3b66226 to your computer and use it in GitHub Desktop.
terraform debug output sanitized
2021/04/05 14:36:08 [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/04/05 14:36:08 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:08 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:08 [INFO] CLI args: []string{"/usr/local/bin/terraform", "output", "-json"}
2021/04/05 14:36:08 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:08 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:08 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:08 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:08 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:08 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:08 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:08 [INFO] CLI command args: []string{"output", "-json"}
2021/04/05 14:36:08 [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/04/05 14:36:08 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:08 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:08 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:08 [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
[terragrunt] [/global/shared-vpc/network] 2021/04/05 14:36:09 Running command: terraform output -json
2021/04/05 14:36:09 [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/04/05 14:36:09 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:09 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:09 [INFO] CLI args: []string{"/usr/local/bin/terraform", "output", "-json"}
2021/04/05 14:36:09 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:09 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:09 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:09 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:09 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:09 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:09 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:09 [INFO] CLI command args: []string{"output", "-json"}
2021/04/05 14:36:09 [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/04/05 14:36:09 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:09 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:09 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:09 [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
[terragrunt] [/global/shared-vpc/host-project] 2021/04/05 14:36:11 Running command: terraform output -json
2021/04/05 14:36: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/04/05 14:36:11 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:11 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:11 [INFO] CLI args: []string{"/usr/local/bin/terraform", "output", "-json"}
2021/04/05 14:36:11 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:11 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:11 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:11 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:11 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:11 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:11 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:11 [INFO] CLI command args: []string{"output", "-json"}
2021/04/05 14:36: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/04/05 14:36:12 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:12 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:12 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:12 [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
[terragrunt] [/dev/project] 2021/04/05 14:36:15 Running command: terraform output -json
2021/04/05 14:36:15 [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/04/05 14:36:15 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:15 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:15 [INFO] CLI args: []string{"/usr/local/bin/terraform", "output", "-json"}
2021/04/05 14:36:15 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:15 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:15 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:15 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:15 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:15 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:15 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:15 [INFO] CLI command args: []string{"output", "-json"}
2021/04/05 14:36:15 [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/04/05 14:36:16 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:16 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:16 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:16 [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/04/05 14:36:17 [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/04/05 14:36:17 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:17 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:17 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init", "-backend-config=prefix=IAP/clients/tbd-https", "-backend-config=bucket=mb-dev-terraform-state"}
2021/04/05 14:36:17 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:17 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:17 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:17 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:17 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:17 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:17 [INFO] CLI command args: []string{"init", "-backend-config=prefix=IAP/clients/tbd-https", "-backend-config=bucket=mb-dev-terraform-state"}
2021/04/05 14:36:17 [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.
----
Initializing the backend...
2021/04/05 14:36:17 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:17 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:17 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:17 [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/04/05 14:36:18 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
Initializing provider plugins...
- Reusing previous version of hashicorp/google from the dependency lock file
2021/04/05 14:36:18 [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/04/05 14:36:18 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/google/versions
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[terragrunt] 2021/04/05 14:36:18 Running command: terraform apply
2021/04/05 14:36:18 [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/04/05 14:36:18 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:18 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:18 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2021/04/05 14:36:18 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:18 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:18 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 14:36:18 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021/04/05 14:36:18 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Application Support/io.terraform/plugins
2021/04/05 14:36:18 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 14:36:18 [INFO] CLI command args: []string{"apply"}
2021/04/05 14:36:18 [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/04/05 14:36:18 [DEBUG] checking for provisioner in "."
2021/04/05 14:36:18 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/04/05 14:36:18 [DEBUG] checking for provisioner in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:18 [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/04/05 14:36:18 [INFO] backend/local: starting Apply operation
2021-04-05T14:36:19.630-0400 [INFO] plugin: configuring client automatic mTLS
2021-04-05T14:36:19.662-0400 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5]
2021-04-05T14:36:19.668-0400 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17249
2021-04-05T14:36:19.668-0400 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5
2021-04-05T14:36:19.689-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T14:36:19.689-0400
2021-04-05T14:36:19.718-0400 [DEBUG] plugin.terraform-provider-google_v3.62.0_x5: plugin address: address=/var/folders/fh/ljhv9frx4d79jqmxb25bvlj5t2f63d/T/plugin332154956 network=unix timestamp=2021-04-05T14:36:19.718-0400
2021-04-05T14:36:19.718-0400 [DEBUG] plugin: using plugin: version=5
2021-04-05T14:36:19.810-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T14:36:19.812-0400 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17249
2021-04-05T14:36:19.812-0400 [DEBUG] plugin: plugin exited
2021/04/05 14:36:19 [INFO] terraform: building graph: GraphTypeValidate
2021/04/05 14:36:19 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_iap_client.default
2021/04/05 14:36:19 [DEBUG] ProviderTransformer: "google_iap_client.default" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "var.brand_name" references: []
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "output.client_id" references: [google_iap_client.default]
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "output.client_secret" references: [google_iap_client.default]
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "google_iap_client.default" references: [var.iap_display_name]
2021/04/05 14:36:19 [DEBUG] ReferenceTransformer: "var.iap_display_name" references: []
2021/04/05 14:36:19 [DEBUG] Starting graph walk: walkValidate
2021-04-05T14:36:19.814-0400 [INFO] plugin: configuring client automatic mTLS
2021-04-05T14:36:19.838-0400 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5]
2021-04-05T14:36:19.845-0400 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17250
2021-04-05T14:36:19.845-0400 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5
2021-04-05T14:36:19.863-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T14:36:19.863-0400
2021-04-05T14:36:19.892-0400 [DEBUG] plugin: using plugin: version=5
2021-04-05T14:36:19.892-0400 [DEBUG] plugin.terraform-provider-google_v3.62.0_x5: plugin address: address=/var/folders/fh/ljhv9frx4d79jqmxb25bvlj5t2f63d/T/plugin971944993 network=unix timestamp=2021-04-05T14:36:19.892-0400
2021-04-05T14:36:20.012-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T14:36:20.013-0400 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17250
2021-04-05T14:36:20.013-0400 [DEBUG] plugin: plugin exited
2021/04/05 14:36:20 [INFO] backend/local: apply calling Plan
2021/04/05 14:36:20 [INFO] terraform: building graph: GraphTypePlan
2021/04/05 14:36:20 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_iap_client.default (expand)
2021/04/05 14:36:20 [DEBUG] ProviderTransformer: "google_iap_client.default (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "google_iap_client.default (expand)" references: [var.iap_display_name]
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "var.iap_display_name" references: []
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "var.brand_name" references: []
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "output.client_id" references: [google_iap_client.default (expand)]
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "output.client_secret" references: [google_iap_client.default (expand)]
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/04/05 14:36:20 [DEBUG] Starting graph walk: walkPlan
2021-04-05T14:36:20.015-0400 [INFO] plugin: configuring client automatic mTLS
2021-04-05T14:36:20.040-0400 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5]
2021-04-05T14:36:20.047-0400 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17253
2021-04-05T14:36:20.047-0400 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5
2021-04-05T14:36:20.067-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T14:36:20.066-0400
2021-04-05T14:36:20.096-0400 [DEBUG] plugin.terraform-provider-google_v3.62.0_x5: plugin address: address=/var/folders/fh/ljhv9frx4d79jqmxb25bvlj5t2f63d/T/plugin792693456 network=unix timestamp=2021-04-05T14:36:20.095-0400
2021-04-05T14:36:20.096-0400 [DEBUG] plugin: using plugin: version=5
2021-04-05T14:36:20.184-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:20 [INFO] Authenticating using DefaultClient...: timestamp=2021-04-05T14:36:20.184-0400
2021-04-05T14:36:20.184-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:20 [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-04-05T14:36:20.184-0400
2021/04/05 14:36:20 [DEBUG] Resource instance state not found for node "google_iap_client.default", instance google_iap_client.default
2021/04/05 14:36:20 [INFO] ReferenceTransformer: reference not found: "var.iap_display_name"
2021/04/05 14:36:20 [DEBUG] ReferenceTransformer: "google_iap_client.default" references: []
2021/04/05 14:36:20 [DEBUG] refresh: google_iap_client.default: no state, so not refreshing
2021-04-05T14:36:20.186-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T14:36:20.188-0400 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17253
2021-04-05T14:36:20.188-0400 [DEBUG] plugin: plugin exited
An execution plan has been generated and is shown below.
2021/04/05 14:36:20 [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_iap_client.default will be created
+ resource "google_iap_client" "default" {
+ brand = "projects/####/brands/#####"
+ client_id = (known after apply)
+ display_name = "IAP Client 1"
+ id = (known after apply)
+ secret = (sensitive value)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ client_id = (known after apply)
+ client_secret = (known after apply)
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/04/05 14:36:22 [INFO] backend/local: apply calling Apply
2021/04/05 14:36:22 [INFO] terraform: building graph: GraphTypeApply
2021/04/05 14:36:22 [DEBUG] Resource state not found for node "google_iap_client.default", instance google_iap_client.default
2021/04/05 14:36:22 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/google"], implied first by google_iap_client.default
2021/04/05 14:36:22 [DEBUG] ProviderTransformer: "google_iap_client.default" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2021/04/05 14:36:22 [DEBUG] ProviderTransformer: "google_iap_client.default (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "google_iap_client.default (expand)" references: []
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "var.iap_display_name" references: []
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "var.brand_name" references: []
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "output.client_id" references: [google_iap_client.default (expand) google_iap_client.default google_iap_client.default]
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "output.client_secret" references: [google_iap_client.default (expand) google_iap_client.default google_iap_client.default]
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "google_iap_client.default" references: [var.iap_display_name]
2021/04/05 14:36:22 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/04/05 14:36:22 [DEBUG] Starting graph walk: walkApply
2021-04-05T14:36:22.058-0400 [INFO] plugin: configuring client automatic mTLS
2021-04-05T14:36:22.086-0400 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5]
2021-04-05T14:36:22.094-0400 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17265
2021-04-05T14:36:22.094-0400 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5
2021-04-05T14:36:22.114-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T14:36:22.114-0400
2021-04-05T14:36:22.145-0400 [DEBUG] plugin.terraform-provider-google_v3.62.0_x5: plugin address: network=unix address=/var/folders/fh/ljhv9frx4d79jqmxb25bvlj5t2f63d/T/plugin220041236 timestamp=2021-04-05T14:36:22.144-0400
2021-04-05T14:36:22.145-0400 [DEBUG] plugin: using plugin: version=5
2021-04-05T14:36:22.236-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [INFO] Authenticating using DefaultClient...: timestamp=2021-04-05T14:36:22.236-0400
2021-04-05T14:36:22.236-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [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-04-05T14:36:22.236-0400
google_iap_client.default: Creating...
2021/04/05 14:36:22 [DEBUG] EvalApply: ProviderMeta config value set
2021/04/05 14:36:22 [DEBUG] google_iap_client.default: applying the planned Create change
2021-04-05T14:36:22.238-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Creating new Client: map[string]interface {}{"displayName":"IAP Client 1"}: timestamp=2021-04-05T14:36:22.238-0400
2021-04-05T14:36:22.238-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Waiting for state to become: [success]: timestamp=2021-04-05T14:36:22.238-0400
2021-04-05T14:36:22.239-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-04-05T14:36:22.239-0400
2021-04-05T14:36:22.239-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-04-05T14:36:22.239-0400
2021-04-05T14:36:22.239-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
POST /v1/projects/####/brands/#####/identityAwareProxyClients?alt=json HTTP/1.1
Host: iap.googleapis.com
User-Agent: Terraform/0.14.6 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.4 terraform-provider-google/dev
Content-Length: 36
Content-Type: application/json
Accept-Encoding: gzip
{
"displayName": "IAP Client 1"
}
-----------------------------------------------------: timestamp=2021-04-05T14:36:22.239-0400
2021-04-05T14:36:22.909-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [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, 05 Apr 2021 18:36:22 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": "Precondition check failed.",
"status": "FAILED_PRECONDITION"
}
}
-----------------------------------------------------: timestamp=2021-04-05T14:36:22.909-0400
2021-04-05T14:36:22.909-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [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, 05 Apr 2021 18:36:22 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": "Precondition check failed.",
"status": "FAILED_PRECONDITION"
}
}: timestamp=2021-04-05T14:36:22.909-0400
2021-04-05T14:36:22.909-0400 [INFO] plugin.terraform-provider-google_v3.62.0_x5: 2021/04/05 14:36:22 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-04-05T14:36:22.909-0400
2021/04/05 14:36:22 [DEBUG] google_iap_client.default: apply errored, but we're indicating that via the Error pointer rather than returning it: Error creating Client: googleapi: Error 400: Precondition check failed.
Error: Error creating Client: googleapi: Error 400: Precondition check failed.
on main.tf line 1, in resource "google_iap_client" "default":
1: resource "google_iap_client" "default" {
2021-04-05T14:36:23.185-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T14:36:23.188-0400 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.62.0/darwin_amd64/terraform-provider-google_v3.62.0_x5 pid=17265
2021-04-05T14:36:23.188-0400 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment