Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save via-justa/0d608921571085bf87d805de6b153c98 to your computer and use it in GitHub Desktop.
Save via-justa/0d608921571085bf87d805de6b153c98 to your computer and use it in GitHub Desktop.
$ TF_LOG=DEBUG terraform plan -no-color
2021-08-09T15:19:21.236+0200 [DEBUG] Adding temp file log sink: /var/folders/x7/pdfpbsjs6_303cqkc3n82w0w0000gq/T/terraform-log262456996
2021-08-09T15:19:21.236+0200 [INFO] Terraform version: 0.15.0
2021-08-09T15:19:21.237+0200 [INFO] Go runtime version: go1.16.2
2021-08-09T15:19:21.237+0200 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.2/versions/0.15.0/terraform", "plan", "-no-color"}
2021-08-09T15:19:21.237+0200 [DEBUG] Attempting to open CLI config file: /Users/user/.terraformrc
2021-08-09T15:19:21.237+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-08-09T15:19:21.237+0200 [DEBUG] checking for credentials in "/Users/user/.terraform.d/plugins"
2021-08-09T15:19:21.238+0200 [DEBUG] checking for credentials in "/Users/user/.terraform.d/plugins/darwin_amd64"
2021-08-09T15:19:21.238+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-08-09T15:19:21.238+0200 [DEBUG] will search for provider plugins in /Users/user/.terraform.d/plugins
2021-08-09T15:19:21.240+0200 [DEBUG] ignoring non-existing provider search directory /Users/user/Library/Application Support/io.terraform/plugins
2021-08-09T15:19:21.240+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021-08-09T15:19:21.240+0200 [INFO] CLI command args: []string{"plan", "-no-color"}
2021-08-09T15:19:21.243+0200 [DEBUG] New state was assigned lineage "c54bd029-1d33-808a-59c5-3ce029a74cac"
2021-08-09T15:19:21.431+0200 [DEBUG] checking for provisioner in "."
2021-08-09T15:19:21.432+0200 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.2.2/versions/0.15.0"
2021-08-09T15:19:21.432+0200 [DEBUG] checking for provisioner in "/Users/user/.terraform.d/plugins"
2021-08-09T15:19:21.432+0200 [DEBUG] checking for provisioner in "/Users/user/.terraform.d/plugins/darwin_amd64"
2021-08-09T15:19:21.433+0200 [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-08-09T15:19:21.434+0200 [INFO] backend/local: starting Plan operation
2021-08-09T15:19:21.438+0200 [DEBUG] created provider logger: level=debug
2021-08-09T15:19:21.438+0200 [INFO] provider: configuring client automatic mTLS
2021-08-09T15:19:21.469+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5]
2021-08-09T15:19:21.473+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90859
2021-08-09T15:19:21.474+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5
2021-08-09T15:19:21.503+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: configuring server automatic mTLS: timestamp=2021-08-09T15:19:21.503+0200
2021-08-09T15:19:21.536+0200 [DEBUG] provider.terraform-provider-google_v3.78.0_x5: plugin address: address=/var/folders/x7/pdfpbsjs6_303cqkc3n82w0w0000gq/T/plugin002457270 network=unix timestamp=2021-08-09T15:19:21.536+0200
2021-08-09T15:19:21.536+0200 [DEBUG] provider: using plugin: version=5
2021-08-09T15:19:21.617+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-08-09T15:19:21.619+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90859
2021-08-09T15:19:21.619+0200 [DEBUG] provider: plugin exited
2021-08-09T15:19:21.620+0200 [INFO] terraform: building graph: GraphTypeValidate
2021-08-09T15:19:21.620+0200 [DEBUG] ProviderTransformer: "google_pubsub_topic.topic" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-08-09T15:19:21.620+0200 [DEBUG] ProviderTransformer: "google_pubsub_subscription.subscription" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-08-09T15:19:21.620+0200 [DEBUG] ReferenceTransformer: "google_pubsub_subscription.subscription" references: [google_pubsub_topic.topic]
2021-08-09T15:19:21.620+0200 [DEBUG] ReferenceTransformer: "google_pubsub_topic.topic" references: []
2021-08-09T15:19:21.621+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021-08-09T15:19:21.621+0200 [DEBUG] Starting graph walk: walkValidate
2021-08-09T15:19:21.621+0200 [DEBUG] created provider logger: level=debug
2021-08-09T15:19:21.621+0200 [INFO] provider: configuring client automatic mTLS
2021-08-09T15:19:21.651+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5]
2021-08-09T15:19:21.656+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90860
2021-08-09T15:19:21.656+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5
2021-08-09T15:19:21.686+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: configuring server automatic mTLS: timestamp=2021-08-09T15:19:21.685+0200
2021-08-09T15:19:21.719+0200 [DEBUG] provider.terraform-provider-google_v3.78.0_x5: plugin address: address=/var/folders/x7/pdfpbsjs6_303cqkc3n82w0w0000gq/T/plugin125967555 network=unix timestamp=2021-08-09T15:19:21.719+0200
2021-08-09T15:19:21.719+0200 [DEBUG] provider: using plugin: version=5
2021-08-09T15:19:21.839+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-08-09T15:19:21.841+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90860
2021-08-09T15:19:21.841+0200 [DEBUG] provider: plugin exited
2021-08-09T15:19:21.841+0200 [INFO] backend/local: plan calling Plan
2021-08-09T15:19:21.841+0200 [INFO] terraform: building graph: GraphTypePlan
2021-08-09T15:19:21.842+0200 [DEBUG] ProviderTransformer: "google_pubsub_topic.topic (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-08-09T15:19:21.842+0200 [DEBUG] ProviderTransformer: "google_pubsub_subscription.subscription (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-08-09T15:19:21.842+0200 [DEBUG] ReferenceTransformer: "google_pubsub_topic.topic (expand)" references: []
2021-08-09T15:19:21.842+0200 [DEBUG] ReferenceTransformer: "google_pubsub_subscription.subscription (expand)" references: [google_pubsub_topic.topic (expand)]
2021-08-09T15:19:21.842+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021-08-09T15:19:21.842+0200 [DEBUG] Starting graph walk: walkPlan
2021-08-09T15:19:21.843+0200 [DEBUG] created provider logger: level=debug
2021-08-09T15:19:21.843+0200 [INFO] provider: configuring client automatic mTLS
2021-08-09T15:19:21.872+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5]
2021-08-09T15:19:21.877+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90861
2021-08-09T15:19:21.878+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5
2021-08-09T15:19:21.905+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: configuring server automatic mTLS: timestamp=2021-08-09T15:19:21.904+0200
2021-08-09T15:19:21.938+0200 [DEBUG] provider.terraform-provider-google_v3.78.0_x5: plugin address: address=/var/folders/x7/pdfpbsjs6_303cqkc3n82w0w0000gq/T/plugin286340136 network=unix timestamp=2021-08-09T15:19:21.938+0200
2021-08-09T15:19:21.938+0200 [DEBUG] provider: using plugin: version=5
2021-08-09T15:19:22.053+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/google\"]" changed the config value, but that value is unused
2021-08-09T15:19:22.055+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19:22 [INFO] Authenticating using DefaultClient...: timestamp=2021-08-09T15:19:22.054+0200
2021-08-09T15:19:22.055+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19: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-08-09T15:19:22.054+0200
2021-08-09T15:19:22.056+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19:22 [INFO] Authenticating using DefaultClient...: timestamp=2021-08-09T15:19:22.055+0200
2021-08-09T15:19:22.056+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19: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-08-09T15:19:22.056+0200
2021-08-09T15:19:22.056+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19:22 [DEBUG] Waiting for state to become: [success]: timestamp=2021-08-09T15:19:22.056+0200
2021-08-09T15:19:22.501+0200 [INFO] provider.terraform-provider-google_v3.78.0_x5: 2021/08/09 15:19:22 [INFO] Terraform is using this identity: user@project.iam.gserviceaccount.com: timestamp=2021-08-09T15:19:22.501+0200
2021-08-09T15:19:22.503+0200 [DEBUG] Resource instance state not found for node "google_pubsub_topic.topic", instance google_pubsub_topic.topic
2021-08-09T15:19:22.503+0200 [DEBUG] ReferenceTransformer: "google_pubsub_topic.topic" references: []
2021-08-09T15:19:22.504+0200 [DEBUG] refresh: google_pubsub_topic.topic: no state, so not refreshing
2021-08-09T15:19:22.508+0200 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an invalid plan for google_pubsub_topic.topic, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .message_storage_policy: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .schema_settings: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2021-08-09T15:19:22.508+0200 [DEBUG] Resource instance state not found for node "google_pubsub_subscription.subscription", instance google_pubsub_subscription.subscription
2021-08-09T15:19:22.509+0200 [DEBUG] ReferenceTransformer: "google_pubsub_subscription.subscription" references: []
2021-08-09T15:19:22.509+0200 [DEBUG] refresh: google_pubsub_subscription.subscription: no state, so not refreshing
2021-08-09T15:19:22.512+0200 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an invalid plan for google_pubsub_subscription.subscription, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .message_retention_duration: planned value cty.StringVal("604800s") for a non-computed attribute
- .expiration_policy[0].ttl: planned value cty.NullVal(cty.String) does not match config value cty.StringVal("0")
2021-08-09T15:19:22.514+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-08-09T15:19:22.518+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.78.0/darwin_amd64/terraform-provider-google_v3.78.0_x5 pid=90861
2021-08-09T15:19:22.518+0200 [DEBUG] provider: plugin exited
2021-08-09T15:19:22.518+0200 [INFO] backend/local: plan operation completed
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# google_pubsub_subscription.subscription will be created
+ resource "google_pubsub_subscription" "subscription" {
+ ack_deadline_seconds = 10
+ id = (known after apply)
+ message_retention_duration = "604800s"
+ name = "sub"
+ path = (known after apply)
+ project = (known after apply)
+ topic = "topic"
+ expiration_policy {}
}
# google_pubsub_topic.topic will be created
+ resource "google_pubsub_topic" "topic" {
+ id = (known after apply)
+ name = "topic"
+ project = (known after apply)
+ message_storage_policy {
+ allowed_persistence_regions = (known after apply)
}
+ schema_settings {
+ encoding = (known after apply)
+ schema = (known after apply)
}
}
Plan: 2 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment