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 toumorokoshi/c4b179b7585ab00093c70e72003ad339 to your computer and use it in GitHub Desktop.
Save toumorokoshi/c4b179b7585ab00093c70e72003ad339 to your computer and use it in GitHub Desktop.
tf output
$ TF_LOG=debug terraform plan
2021-04-16T09:50:12.194-0700 [DEBUG] Adding temp file log sink: /tmp/terraform-log796312891
2021-04-16T09:50:12.194-0700 [INFO] Terraform version: 0.15.0
2021-04-16T09:50:12.194-0700 [INFO] Go runtime version: go1.16.2
2021-04-16T09:50:12.194-0700 [INFO] CLI args: []string{"/home/yusuketsutsumi/bin/terraform", "plan"}
2021-04-16T09:50:12.194-0700 [DEBUG] Attempting to open CLI config file: /home/yusuketsutsumi/.terraformrc
2021-04-16T09:50:12.194-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-04-16T09:50:12.194-0700 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-04-16T09:50:12.194-0700 [DEBUG] ignoring non-existing provider search directory /home/yusuketsutsumi/.terraform.d/plugins
2021-04-16T09:50:12.194-0700 [DEBUG] ignoring non-existing provider search directory /home/yusuketsutsumi/.local/share/terraform/plugins
2021-04-16T09:50:12.194-0700 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021-04-16T09:50:12.194-0700 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021-04-16T09:50:12.195-0700 [INFO] CLI command args: []string{"plan"}
2021-04-16T09:50:12.195-0700 [DEBUG] New state was assigned lineage "ce52abd4-2ad5-7ca7-b164-f91c51d1b3e5"
2021-04-16T09:50:12.359-0700 [DEBUG] checking for provisioner in "."
2021-04-16T09:50:12.359-0700 [DEBUG] checking for provisioner in "/home/yusuketsutsumi/bin"
2021-04-16T09:50:12.360-0700 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021-04-16T09:50:12.360-0700 [INFO] backend/local: starting Plan operation
2021-04-16T09:50:12.360-0700 [DEBUG] created provider logger: level=debug
2021-04-16T09:50:12.360-0700 [INFO] provider: configuring client automatic mTLS
2021-04-16T09:50:12.396-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5]
2021-04-16T09:50:12.396-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899171
2021-04-16T09:50:12.396-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5
2021-04-16T09:50:12.409-0700 [INFO] provider.terraform-provider-google_v3.64.0_x5: configuring server automatic mTLS: timestamp=2021-04-16T09:50:12.409-0700
2021-04-16T09:50:12.447-0700 [DEBUG] provider: using plugin: version=5
2021-04-16T09:50:12.447-0700 [DEBUG] provider.terraform-provider-google_v3.64.0_x5: plugin address: address=/tmp/plugin516709171 network=unix timestamp=2021-04-16T09:50:12.447-0700
2021-04-16T09:50:12.519-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-16T09:50:12.522-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899171
2021-04-16T09:50:12.522-0700 [DEBUG] provider: plugin exited
2021-04-16T09:50:12.522-0700 [INFO] terraform: building graph: GraphTypeValidate
2021-04-16T09:50:12.522-0700 [DEBUG] ProviderTransformer: "google_dns_record_set.resource-recordset" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-04-16T09:50:12.522-0700 [DEBUG] ProviderTransformer: "google_dns_managed_zone.parent-zone" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-04-16T09:50:12.522-0700 [DEBUG] ReferenceTransformer: "google_dns_managed_zone.parent-zone" references: []
2021-04-16T09:50:12.522-0700 [DEBUG] ReferenceTransformer: "google_dns_record_set.resource-recordset" references: [google_dns_managed_zone.parent-zone]
2021-04-16T09:50:12.522-0700 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021-04-16T09:50:12.523-0700 [DEBUG] Starting graph walk: walkValidate
2021-04-16T09:50:12.523-0700 [DEBUG] created provider logger: level=debug
2021-04-16T09:50:12.523-0700 [INFO] provider: configuring client automatic mTLS
2021-04-16T09:50:12.554-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5]
2021-04-16T09:50:12.554-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899191
2021-04-16T09:50:12.554-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5
2021-04-16T09:50:12.567-0700 [INFO] provider.terraform-provider-google_v3.64.0_x5: configuring server automatic mTLS: timestamp=2021-04-16T09:50:12.567-0700
2021-04-16T09:50:12.599-0700 [DEBUG] provider.terraform-provider-google_v3.64.0_x5: plugin address: address=/tmp/plugin674932220 network=unix timestamp=2021-04-16T09:50:12.599-0700
2021-04-16T09:50:12.599-0700 [DEBUG] provider: using plugin: version=5
2021-04-16T09:50:12.696-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-16T09:50:12.698-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899191
2021-04-16T09:50:12.698-0700 [DEBUG] provider: plugin exited
2021-04-16T09:50:12.698-0700 [INFO] backend/local: plan calling Plan
2021-04-16T09:50:12.698-0700 [INFO] terraform: building graph: GraphTypePlan
2021-04-16T09:50:12.699-0700 [DEBUG] ProviderTransformer: "google_dns_managed_zone.parent-zone (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-04-16T09:50:12.699-0700 [DEBUG] ProviderTransformer: "google_dns_record_set.resource-recordset (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021-04-16T09:50:12.699-0700 [DEBUG] ReferenceTransformer: "google_dns_managed_zone.parent-zone (expand)" references: []
2021-04-16T09:50:12.699-0700 [DEBUG] ReferenceTransformer: "google_dns_record_set.resource-recordset (expand)" references: [google_dns_managed_zone.parent-zone (expand)]
2021-04-16T09:50:12.699-0700 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021-04-16T09:50:12.699-0700 [DEBUG] Starting graph walk: walkPlan
2021-04-16T09:50:12.700-0700 [DEBUG] created provider logger: level=debug
2021-04-16T09:50:12.700-0700 [INFO] provider: configuring client automatic mTLS
2021-04-16T09:50:12.730-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5]
2021-04-16T09:50:12.730-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899204
2021-04-16T09:50:12.730-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5
2021-04-16T09:50:12.745-0700 [INFO] provider.terraform-provider-google_v3.64.0_x5: configuring server automatic mTLS: timestamp=2021-04-16T09:50:12.745-0700
2021-04-16T09:50:12.781-0700 [DEBUG] provider.terraform-provider-google_v3.64.0_x5: plugin address: network=unix address=/tmp/plugin957648946 timestamp=2021-04-16T09:50:12.781-0700
2021-04-16T09:50:12.782-0700 [DEBUG] provider: using plugin: version=5
2021-04-16T09:50:12.880-0700 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/google\"]" changed the config value, but that value is unused
2021-04-16T09:50:12.881-0700 [INFO] provider.terraform-provider-google_v3.64.0_x5: 2021/04/16 09:50:12 [INFO] Authenticating using DefaultClient...: timestamp=2021-04-16T09:50:12.881-0700
2021-04-16T09:50:12.881-0700 [INFO] provider.terraform-provider-google_v3.64.0_x5: 2021/04/16 09:50: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-04-16T09:50:12.881-0700
2021-04-16T09:50:12.882-0700 [DEBUG] Resource instance state not found for node "google_dns_managed_zone.parent-zone", instance google_dns_managed_zone.parent-zone
2021-04-16T09:50:12.882-0700 [DEBUG] ReferenceTransformer: "google_dns_managed_zone.parent-zone" references: []
2021-04-16T09:50:12.882-0700 [DEBUG] refresh: google_dns_managed_zone.parent-zone: no state, so not refreshing
2021-04-16T09:50:12.884-0700 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an invalid plan for google_dns_managed_zone.parent-zone, 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:
- .visibility: planned value cty.StringVal("public") for a non-computed attribute
- .force_destroy: planned value cty.False for a non-computed attribute
2021-04-16T09:50:12.884-0700 [DEBUG] Resource instance state not found for node "google_dns_record_set.resource-recordset", instance google_dns_record_set.resource-recordset
2021-04-16T09:50:12.884-0700 [DEBUG] ReferenceTransformer: "google_dns_record_set.resource-recordset" references: []
2021-04-16T09:50:12.884-0700 [DEBUG] refresh: google_dns_record_set.resource-recordset: no state, so not refreshing
2021-04-16T09:50:12.886-0700 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an invalid plan for google_dns_record_set.resource-recordset, 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:
- .rrdatas: planned value cty.ListValEmpty(cty.String) does not match config value cty.ListVal([]cty.Value{cty.StringVal("7777:7777:7777:7777::"), cty.StringVal("8888:8888:8888:8888::")})
2021-04-16T09:50:12.886-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-16T09:50:12.892-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.64.0/linux_amd64/terraform-provider-google_v3.64.0_x5 pid=1899204
2021-04-16T09:50:12.892-0700 [DEBUG] provider: plugin exited
2021-04-16T09:50:12.892-0700 [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_dns_managed_zone.parent-zone will be created
+ resource "google_dns_managed_zone" "parent-zone" {
+ description = "Test Description"
+ dns_name = "my-zone.hashicorptest.com."
+ force_destroy = false
+ id = (known after apply)
+ name = "my-zone"
+ name_servers = (known after apply)
+ project = (known after apply)
+ visibility = "public"
}
# google_dns_record_set.resource-recordset will be created
+ resource "google_dns_record_set" "resource-recordset" {
+ id = (known after apply)
+ managed_zone = "my-zone"
+ name = "test-record.my-zone.hashicorptest.com."
+ project = (known after apply)
+ rrdatas = []
+ ttl = 86400
+ type = "AAAA"
}
Plan: 2 to add, 0 to change, 0 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment