Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save squaresurf/375e72e49a48b784af71523c0daa48ce to your computer and use it in GitHub Desktop.
Save squaresurf/375e72e49a48b784af71523c0daa48ce to your computer and use it in GitHub Desktop.
erraform HCP Provider hcp_iam_workload_identity_provider empty description debug.log
2024-05-22T13:53:53.084-0600 [INFO] Terraform version: 1.8.3
2024-05-22T13:53:53.084-0600 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-05-22T13:53:53.084-0600 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-05-22T13:53:53.084-0600 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-05-22T13:53:53.084-0600 [DEBUG] using github.com/zclconf/go-cty v1.14.3
2024-05-22T13:53:53.084-0600 [INFO] Go runtime version: go1.22.1
2024-05-22T13:53:53.084-0600 [INFO] CLI args: []string{"/Users/danielsearles/.asdf/installs/terraform/1.8.3/bin/terraform", "apply", "-auto-approve"}
2024-05-22T13:53:53.084-0600 [DEBUG] Attempting to open CLI config file: /Users/danielsearles/.terraformrc
2024-05-22T13:53:53.084-0600 [INFO] Loading CLI configuration from /Users/danielsearles/.terraformrc
2024-05-22T13:53:53.085-0600 [INFO] Loading CLI configuration from /Users/danielsearles/.terraform.d/credentials.tfrc.json
2024-05-22T13:53:53.085-0600 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-05-22T13:53:53.085-0600 [DEBUG] ignoring non-existing provider search directory /Users/danielsearles/.terraform.d/plugins
2024-05-22T13:53:53.085-0600 [DEBUG] will search for provider plugins in /Users/danielsearles/Library/Application Support/io.terraform/plugins
2024-05-22T13:53:53.085-0600 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-05-22T13:53:53.085-0600 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2024-05-22T13:53:53.085-0600 [DEBUG] New state was assigned lineage "691c3560-c836-f2cf-9471-8dd78bf16ca2"
2024-05-22T13:53:53.106-0600 [DEBUG] checking for provisioner in "."
2024-05-22T13:53:53.107-0600 [DEBUG] checking for provisioner in "/Users/danielsearles/.asdf/installs/terraform/1.8.3/bin"
2024-05-22T13:53:53.107-0600 [INFO] backend/local: starting Apply operation
2024-05-22T13:53:53.110-0600 [DEBUG] created provider logger: level=debug
2024-05-22T13:53:53.110-0600 [INFO] provider: configuring client automatic mTLS
2024-05-22T13:53:53.115-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5"]
2024-05-22T13:53:53.118-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25559
2024-05-22T13:53:53.118-0600 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.130-0600 [INFO] provider.terraform-provider-hcp_v0.89.0_x5: configuring server automatic mTLS: timestamp=2024-05-22T13:53:53.130-0600
2024-05-22T13:53:53.136-0600 [DEBUG] provider: using plugin: version=6
2024-05-22T13:53:53.136-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: plugin address: address=/var/folders/4v/h5t9mj3x5mz7vjqm0y4xkrg40000gq/T/plugin550667068 network=unix timestamp=2024-05-22T13:53:53.136-0600
2024-05-22T13:53:53.147-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-22T13:53:53.148-0600 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25559
2024-05-22T13:53:53.153-0600 [DEBUG] provider: plugin exited
2024-05-22T13:53:53.153-0600 [DEBUG] Building and walking validate graph
2024-05-22T13:53:53.153-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:53.153-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:53.154-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example" references: []
2024-05-22T13:53:53.154-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example" references: [hcp_service_principal.example]
2024-05-22T13:53:53.154-0600 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2024-05-22T13:53:53.154-0600 [DEBUG] Starting graph walk: walkValidate
2024-05-22T13:53:53.154-0600 [DEBUG] created provider logger: level=debug
2024-05-22T13:53:53.154-0600 [INFO] provider: configuring client automatic mTLS
2024-05-22T13:53:53.157-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5"]
2024-05-22T13:53:53.159-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25560
2024-05-22T13:53:53.159-0600 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.175-0600 [INFO] provider.terraform-provider-hcp_v0.89.0_x5: configuring server automatic mTLS: timestamp=2024-05-22T13:53:53.175-0600
2024-05-22T13:53:53.181-0600 [DEBUG] provider: using plugin: version=6
2024-05-22T13:53:53.181-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: plugin address: address=/var/folders/4v/h5t9mj3x5mz7vjqm0y4xkrg40000gq/T/plugin1479561336 network=unix timestamp=2024-05-22T13:53:53.181-0600
2024-05-22T13:53:53.187-0600 [DEBUG] skipping FixUpBlockAttrs
2024-05-22T13:53:53.190-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-22T13:53:53.191-0600 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25560
2024-05-22T13:53:53.195-0600 [DEBUG] provider: plugin exited
2024-05-22T13:53:53.195-0600 [INFO] backend/local: apply calling Plan
2024-05-22T13:53:53.195-0600 [DEBUG] Building and walking plan graph for NormalMode
2024-05-22T13:53:53.195-0600 [DEBUG] ProviderTransformer: "hcp_group.example (orphan)" (*terraform.NodePlannableResourceInstanceOrphan) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:53.195-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:53.196-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:53.196-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example (expand)" references: [hcp_service_principal.example (expand)]
2024-05-22T13:53:53.196-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example (expand)" references: []
2024-05-22T13:53:53.196-0600 [DEBUG] ReferenceTransformer: "hcp_group.example (orphan)" references: []
2024-05-22T13:53:53.196-0600 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2024-05-22T13:53:53.196-0600 [DEBUG] Starting graph walk: walkPlan
2024-05-22T13:53:53.196-0600 [DEBUG] created provider logger: level=debug
2024-05-22T13:53:53.196-0600 [INFO] provider: configuring client automatic mTLS
2024-05-22T13:53:53.198-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5"]
2024-05-22T13:53:53.201-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25562
2024-05-22T13:53:53.201-0600 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.214-0600 [INFO] provider.terraform-provider-hcp_v0.89.0_x5: configuring server automatic mTLS: timestamp=2024-05-22T13:53:53.214-0600
2024-05-22T13:53:53.220-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: plugin address: address=/var/folders/4v/h5t9mj3x5mz7vjqm0y4xkrg40000gq/T/plugin257560029 network=unix timestamp=2024-05-22T13:53:53.220-0600
2024-05-22T13:53:53.220-0600 [DEBUG] provider: using plugin: version=6
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:53 [DEBUG] GET /resource-manager/2019-12-10/projects/d786b160-90b2-4938-8584-9efed2da2b53 HTTP/1.1
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.438-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:53 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:53 GMT
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 6
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.717-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"project":{"id":"d786b160-90b2-4938-8584-9efed2da2b53","name":"squaresurf-project","parent":{"type":"ORGANIZATION","id":"2324f9c1-52e9-4618-ac9e-e239f18c1338"},"created_at":"2022-06-04T00:58:55.480837Z","state":"ACTIVE","description":""}}
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:53 [DEBUG] GET /resource-manager/2019-12-10/projects/d786b160-90b2-4938-8584-9efed2da2b53 HTTP/1.1
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:53.753-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:54 GMT
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 6
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.029-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"project":{"id":"d786b160-90b2-4938-8584-9efed2da2b53","name":"squaresurf-project","parent":{"type":"ORGANIZATION","id":"2324f9c1-52e9-4618-ac9e-e239f18c1338"},"created_at":"2022-06-04T00:58:55.480837Z","state":"ACTIVE","description":""}}
2024-05-22T13:53:54.029-0600 [DEBUG] Resource instance state not found for node "hcp_service_principal.example", instance hcp_service_principal.example
2024-05-22T13:53:54.029-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example" references: []
2024-05-22T13:53:54.029-0600 [DEBUG] refresh: hcp_service_principal.example: no state, so not refreshing
hcp_group.example: Refreshing state...
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] GET /iam/2019-12-10/iam%2Forganization%2F2324f9c1-52e9-4618-ac9e-e239f18c1338%2Fgroup%2FExample-Group HTTP/1.1
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_req_id=8d09373b-119f-0308-da4b-89e910d66189 @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:195 tf_provider_addr=registry.terraform.io/hashicorp/hcp @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_resource_type=hcp_service_principal tf_rpc=PlanResourceChange timestamp=2024-05-22T13:53:54.034-0600
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_resource_type=hcp_service_principal tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path="AttributeName(\"parent\")" tf_mux_provider="*proto6server.Server" tf_req_id=8d09373b-119f-0308-da4b-89e910d66189 timestamp=2024-05-22T13:53:54.034-0600
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"resource_id\")" tf_provider_addr=registry.terraform.io/hashicorp/hcp @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_req_id=8d09373b-119f-0308-da4b-89e910d66189 tf_resource_type=hcp_service_principal tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 timestamp=2024-05-22T13:53:54.034-0600
2024-05-22T13:53:54.034-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_resource_type=hcp_service_principal @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path="AttributeName(\"resource_name\")" tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=8d09373b-119f-0308-da4b-89e910d66189 tf_rpc=PlanResourceChange timestamp=2024-05-22T13:53:54.034-0600
2024-05-22T13:53:54.035-0600 [DEBUG] Resource instance state not found for node "hcp_iam_workload_identity_provider.example", instance hcp_iam_workload_identity_provider.example
2024-05-22T13:53:54.035-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example" references: []
2024-05-22T13:53:54.035-0600 [DEBUG] refresh: hcp_iam_workload_identity_provider.example: no state, so not refreshing
2024-05-22T13:53:54.035-0600 [DEBUG] skipping FixUpBlockAttrs
2024-05-22T13:53:54.037-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_mux_provider="*proto6server.Server" tf_resource_type=hcp_iam_workload_identity_provider tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:195 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=6b03879d-11f8-41f8-d125-862fd20f4853 timestamp=2024-05-22T13:53:54.037-0600
2024-05-22T13:53:54.037-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 @module=sdk.framework tf_attribute_path="AttributeName(\"resource_id\")" tf_rpc=PlanResourceChange tf_resource_type=hcp_iam_workload_identity_provider tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=6b03879d-11f8-41f8-d125-862fd20f4853 timestamp=2024-05-22T13:53:54.037-0600
2024-05-22T13:53:54.037-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_attribute_path="AttributeName(\"resource_name\")" tf_req_id=6b03879d-11f8-41f8-d125-862fd20f4853 tf_rpc=PlanResourceChange tf_resource_type=hcp_iam_workload_identity_provider @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp timestamp=2024-05-22T13:53:54.037-0600
2024-05-22T13:53:54.110-0600 [WARN] Provider "registry.terraform.io/hashicorp/hcp" produced an unexpected new value for hcp_group.example during refresh.
- Root object was present, but now absent
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] HTTP/2.0 404 Not Found
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:54 GMT
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 3
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.110-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"error":"group not found","code":5,"message":"group not found","details":[]}
2024-05-22T13:53:54.112-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-22T13:53:54.114-0600 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25562
2024-05-22T13:53:54.121-0600 [DEBUG] provider: plugin exited
2024-05-22T13:53:54.121-0600 [DEBUG] building apply graph to check for errors
2024-05-22T13:53:54.121-0600 [DEBUG] Resource state not found for node "hcp_service_principal.example", instance hcp_service_principal.example
2024-05-22T13:53:54.121-0600 [DEBUG] Resource state not found for node "hcp_iam_workload_identity_provider.example", instance hcp_iam_workload_identity_provider.example
2024-05-22T13:53:54.121-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.121-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.121-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.121-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.121-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example (expand)" references: []
2024-05-22T13:53:54.121-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example" references: []
2024-05-22T13:53:54.121-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example" references: [hcp_service_principal.example (expand) hcp_service_principal.example hcp_service_principal.example]
2024-05-22T13:53:54.121-0600 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2024-05-22T13:53:54.121-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example (expand)" references: [hcp_service_principal.example (expand) hcp_service_principal.example hcp_service_principal.example]
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:
 # hcp_iam_workload_identity_provider.example will be created
 + resource "hcp_iam_workload_identity_provider" "example" {
+ aws = {
+ account_id = "123456789012"
}
+ conditional_access = "aws.arn == \"arn:aws:sts::%s:assumed-role/bar\""
+ name = "aws"
+ resource_id = (known after apply)
+ resource_name = (known after apply)
+ service_principal = (known after apply)
}
 # hcp_service_principal.example will be created
 + resource "hcp_service_principal" "example" {
+ name = "Ad-hoc-sp-test"
+ parent = (known after apply)
+ resource_id = (known after apply)
+ resource_name = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
2024-05-22T13:53:54.123-0600 [INFO] backend/local: apply calling Apply
2024-05-22T13:53:54.123-0600 [DEBUG] Building and walking apply graph for NormalMode plan
2024-05-22T13:53:54.123-0600 [DEBUG] Resource state not found for node "hcp_service_principal.example", instance hcp_service_principal.example
2024-05-22T13:53:54.123-0600 [DEBUG] Resource state not found for node "hcp_iam_workload_identity_provider.example", instance hcp_iam_workload_identity_provider.example
2024-05-22T13:53:54.123-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.123-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.123-0600 [DEBUG] ProviderTransformer: "hcp_iam_workload_identity_provider.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.123-0600 [DEBUG] ProviderTransformer: "hcp_service_principal.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2024-05-22T13:53:54.123-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example (expand)" references: []
2024-05-22T13:53:54.124-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example (expand)" references: [hcp_service_principal.example (expand) hcp_service_principal.example hcp_service_principal.example]
2024-05-22T13:53:54.124-0600 [DEBUG] ReferenceTransformer: "hcp_service_principal.example" references: []
2024-05-22T13:53:54.124-0600 [DEBUG] ReferenceTransformer: "hcp_iam_workload_identity_provider.example" references: [hcp_service_principal.example (expand) hcp_service_principal.example hcp_service_principal.example]
2024-05-22T13:53:54.124-0600 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2024-05-22T13:53:54.124-0600 [DEBUG] Starting graph walk: walkApply
2024-05-22T13:53:54.124-0600 [DEBUG] created provider logger: level=debug
2024-05-22T13:53:54.124-0600 [INFO] provider: configuring client automatic mTLS
2024-05-22T13:53:54.127-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5"]
2024-05-22T13:53:54.130-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25563
2024-05-22T13:53:54.130-0600 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.150-0600 [INFO] provider.terraform-provider-hcp_v0.89.0_x5: configuring server automatic mTLS: timestamp=2024-05-22T13:53:54.150-0600
2024-05-22T13:53:54.161-0600 [DEBUG] provider: using plugin: version=6
2024-05-22T13:53:54.161-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: plugin address: address=/var/folders/4v/h5t9mj3x5mz7vjqm0y4xkrg40000gq/T/plugin760390371 network=unix timestamp=2024-05-22T13:53:54.160-0600
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] GET /resource-manager/2019-12-10/projects/d786b160-90b2-4938-8584-9efed2da2b53 HTTP/1.1
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.267-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:54 GMT
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:54.533-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:54.534-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:54.534-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:54.534-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 6
2024-05-22T13:53:54.534-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.534-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"project":{"id":"d786b160-90b2-4938-8584-9efed2da2b53","name":"squaresurf-project","parent":{"type":"ORGANIZATION","id":"2324f9c1-52e9-4618-ac9e-e239f18c1338"},"created_at":"2022-06-04T00:58:55.480837Z","state":"ACTIVE","description":""}}
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] GET /resource-manager/2019-12-10/projects/d786b160-90b2-4938-8584-9efed2da2b53 HTTP/1.1
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.567-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.840-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:54 GMT
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 6
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.841-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"project":{"id":"d786b160-90b2-4938-8584-9efed2da2b53","name":"squaresurf-project","parent":{"type":"ORGANIZATION","id":"2324f9c1-52e9-4618-ac9e-e239f18c1338"},"created_at":"2022-06-04T00:58:55.480837Z","state":"ACTIVE","description":""}}
2024-05-22T13:53:54.847-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_resource_type=hcp_service_principal tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:195 tf_req_id=782faf6a-dfff-300c-0e68-d8e518607323 timestamp=2024-05-22T13:53:54.847-0600
2024-05-22T13:53:54.847-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_attribute_path="AttributeName(\"resource_name\")" tf_mux_provider="*proto6server.Server" tf_rpc=PlanResourceChange tf_resource_type=hcp_service_principal @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=782faf6a-dfff-300c-0e68-d8e518607323 timestamp=2024-05-22T13:53:54.847-0600
2024-05-22T13:53:54.847-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: tf_req_id=782faf6a-dfff-300c-0e68-d8e518607323 @module=sdk.framework tf_attribute_path="AttributeName(\"parent\")" tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_resource_type=hcp_service_principal tf_rpc=PlanResourceChange timestamp=2024-05-22T13:53:54.847-0600
2024-05-22T13:53:54.847-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"resource_id\")" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=782faf6a-dfff-300c-0e68-d8e518607323 tf_rpc=PlanResourceChange @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_resource_type=hcp_service_principal @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 timestamp=2024-05-22T13:53:54.847-0600
hcp_service_principal.example: Creating...
2024-05-22T13:53:54.849-0600 [INFO] Starting apply for hcp_service_principal.example
2024-05-22T13:53:54.850-0600 [DEBUG] hcp_service_principal.example: applying the planned Create change
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] POST /2019-12-10/iam/project%2Fd786b160-90b2-4938-8584-9efed2da2b53/service-principals HTTP/1.1
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Length: 26
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"name":"Ad-hoc-sp-test"}
2024-05-22T13:53:54.851-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:55 GMT
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 42
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"service_principal":{"id":"Ad-hoc-sp-test-763414@d786b160-90b2-4938-8584-9efed2da2b53","name":"Ad-hoc-sp-test","resource_name":"iam/project/d786b160-90b2-4938-8584-9efed2da2b53/service-principal/Ad-hoc-sp-test","organization_id":"2324f9c1-52e9-4618-ac9e-e239f18c1338","created_at":"2024-05-22T19:53:54.997503888Z","project_id":"d786b160-90b2-4938-8584-9efed2da2b53"}}
2024-05-22T13:53:54.975-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=24e858bd-f1a4-0e02-220c-f512731ccf22 tf_resource_type=hcp_service_principal @module=sdk.framework tf_mux_provider="*proto6server.Server" timestamp=2024-05-22T13:53:54.973-0600
hcp_service_principal.example: Creation complete after 0s [name=Ad-hoc-sp-test]
2024-05-22T13:53:54.984-0600 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-22T13:53:54.985-0600 [DEBUG] skipping FixUpBlockAttrs
2024-05-22T13:53:54.987-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:195 tf_mux_provider="*proto6server.Server" tf_req_id=7b854702-7833-7b9a-d7d6-541e04ade135 tf_rpc=PlanResourceChange @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_resource_type=hcp_iam_workload_identity_provider timestamp=2024-05-22T13:53:54.987-0600
2024-05-22T13:53:54.987-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_resource_type=hcp_iam_workload_identity_provider @module=sdk.framework tf_req_id=7b854702-7833-7b9a-d7d6-541e04ade135 tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path="AttributeName(\"resource_id\")" timestamp=2024-05-22T13:53:54.987-0600
2024-05-22T13:53:54.987-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: marking computed attribute that is null in the config as unknown: tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:399 @module=sdk.framework tf_attribute_path="AttributeName(\"resource_name\")" tf_req_id=7b854702-7833-7b9a-d7d6-541e04ade135 tf_resource_type=hcp_iam_workload_identity_provider tf_rpc=PlanResourceChange timestamp=2024-05-22T13:53:54.987-0600
hcp_iam_workload_identity_provider.example: Creating...
2024-05-22T13:53:54.988-0600 [INFO] Starting apply for hcp_iam_workload_identity_provider.example
2024-05-22T13:53:54.989-0600 [DEBUG] skipping FixUpBlockAttrs
2024-05-22T13:53:54.989-0600 [DEBUG] hcp_iam_workload_identity_provider.example: applying the planned Create change
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:54 [DEBUG] POST /2019-12-10/iam%2Fproject%2Fd786b160-90b2-4938-8584-9efed2da2b53%2Fservice-principal%2FAd-hoc-sp-test/workload-identity-providers HTTP/1.1
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Host: api.cloud.hashicorp.com:443
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: User-Agent: Go-http-client/1.1
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Length: 142
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept: application/json
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Accept-Encoding: gzip
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"name":"aws","provider":{"aws_config":{"account_id":"123456789012"},"conditional_access":"aws.arn == \"arn:aws:sts::%s:assumed-role/bar\""}}
2024-05-22T13:53:54.990-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: 2024/05/22 13:53:55 [DEBUG] HTTP/2.0 200 OK
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Access-Control-Allow-Credentials: true
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Cache-Control: no-store, max-age=0
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Content-Type: application/json
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Date: Wed, 22 May 2024 19:53:55 GMT
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Grpc-Metadata-Content-Type: application/grpc
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Server: envoy
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Vary: Accept-Encoding
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: X-Envoy-Upstream-Service-Time: 19
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5
2024-05-22T13:53:55.084-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: {"provider":{"resource_id":"iam.workload-identity-provider:CfdJw9JQH8wHwcGzwqDH","resource_name":"iam/project/d786b160-90b2-4938-8584-9efed2da2b53/service-principal/Ad-hoc-sp-test/workload-identity-provider/aws","description":"","conditional_access":"aws.arn == \"arn:aws:sts::%s:assumed-role/bar\"","aws_config":{"account_id":"123456789012"},"system_managed":false,"created_at":"2024-05-22T19:53:55.128060848Z","updated_at":"2024-05-22T19:53:55.128060848Z"}}
2024-05-22T13:53:55.085-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=aws.account_id tf_req_id=8fc90fc6-5abb-79ce-896e-7551e02c8c29 tf_rpc=ApplyResourceChange tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_resource_type=hcp_iam_workload_identity_provider @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 @module=sdk.framework tf_mux_provider="*proto6server.Server" timestamp=2024-05-22T13:53:55.085-0600
2024-05-22T13:53:55.085-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 tf_attribute_path=aws tf_provider_addr=registry.terraform.io/hashicorp/hcp @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_req_id=8fc90fc6-5abb-79ce-896e-7551e02c8c29 tf_resource_type=hcp_iam_workload_identity_provider timestamp=2024-05-22T13:53:55.085-0600
2024-05-22T13:53:55.085-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_resource_type=hcp_iam_workload_identity_provider @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=8fc90fc6-5abb-79ce-896e-7551e02c8c29 tf_rpc=ApplyResourceChange timestamp=2024-05-22T13:53:55.085-0600
2024-05-22T13:53:55.085-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_mux_provider="*proto6server.Server" tf_req_id=8fc90fc6-5abb-79ce-896e-7551e02c8c29 @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 tf_resource_type=hcp_iam_workload_identity_provider tf_rpc=ApplyResourceChange tf_attribute_path=service_principal tf_provider_addr=registry.terraform.io/hashicorp/hcp timestamp=2024-05-22T13:53:55.085-0600
2024-05-22T13:53:55.085-0600 [DEBUG] provider.terraform-provider-hcp_v0.89.0_x5: Value switched to prior value due to semantic equality logic: tf_mux_provider="*proto6server.Server" tf_provider_addr=registry.terraform.io/hashicorp/hcp tf_req_id=8fc90fc6-5abb-79ce-896e-7551e02c8c29 @module=sdk.framework tf_attribute_path=conditional_access tf_resource_type=hcp_iam_workload_identity_provider tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 timestamp=2024-05-22T13:53:55.085-0600
2024-05-22T13:53:55.093-0600 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-22T13:53:55.094-0600 [ERROR] vertex "hcp_iam_workload_identity_provider.example" error: Provider produced inconsistent result after apply
╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to hcp_iam_workload_identity_provider.example,
│ provider "provider[\"registry.terraform.io/hashicorp/hcp\"]" produced an
│ unexpected new value: .description: was null, but now cty.StringVal("").
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
2024-05-22T13:53:55.104-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-22T13:53:55.107-0600 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.89.0/darwin_arm64/terraform-provider-hcp_v0.89.0_x5 pid=25563
2024-05-22T13:53:55.112-0600 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment