Skip to content

Instantly share code, notes, and snippets.

@assareh
Created February 25, 2022 00:02
Show Gist options
  • Save assareh/df008a15b5ef883ebd7e953f41f94926 to your computer and use it in GitHub Desktop.
Save assareh/df008a15b5ef883ebd7e953f41f94926 to your computer and use it in GitHub Desktop.
terraform apply debug log for resizing hcp vault standard cluster
→ tf apply
2022-02-24T15:54:57.280-0800 [INFO] Terraform version: 1.1.3
2022-02-24T15:54:57.280-0800 [INFO] Go runtime version: go1.17.5
2022-02-24T15:54:57.280-0800 [INFO] CLI args: []string{"terraform", "apply"}
2022-02-24T15:54:57.281-0800 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-02-24T15:54:57.281-0800 [INFO] CLI command args: []string{"apply"}
2022-02-24T15:54:57.282-0800 [DEBUG] New state was assigned lineage "a808060c-6a2f-4caf-b92e-061188377b0d"
2022-02-24T15:54:57.338-0800 [DEBUG] checking for provisioner in "."
2022-02-24T15:54:57.341-0800 [DEBUG] checking for provisioner in "/usr/local/bin"
2022-02-24T15:54:57.342-0800 [INFO] backend/local: starting Apply operation
2022-02-24T15:54:57.345-0800 [DEBUG] created provider logger: level=debug
2022-02-24T15:54:57.346-0800 [INFO] provider: configuring client automatic mTLS
2022-02-24T15:54:57.354-0800 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5]
2022-02-24T15:54:57.356-0800 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21515
2022-02-24T15:54:57.357-0800 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5
2022-02-24T15:54:57.369-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: configuring server automatic mTLS: timestamp=2022-02-24T15:54:57.369-0800
2022-02-24T15:54:57.400-0800 [DEBUG] provider: using plugin: version=5
2022-02-24T15:54:57.400-0800 [DEBUG] provider.terraform-provider-hcp_v0.22.0_x5: plugin address: address=/var/folders/7k/9f8j2cks2_54nwypry2khclc0000gp/T/plugin811206742 network=unix timestamp=2022-02-24T15:54:57.400-0800
2022-02-24T15:54:57.429-0800 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-24T15:54:57.431-0800 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21515
2022-02-24T15:54:57.431-0800 [DEBUG] provider: plugin exited
2022-02-24T15:54:57.431-0800 [DEBUG] Building and walking validate graph
2022-02-24T15:54:57.431-0800 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/hcp"], implied first by hcp_hvn.example
2022-02-24T15:54:57.431-0800 [DEBUG] ProviderTransformer: "hcp_hvn.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:54:57.431-0800 [DEBUG] ProviderTransformer: "hcp_vault_cluster.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:54:57.431-0800 [DEBUG] ReferenceTransformer: "hcp_hvn.example" references: []
2022-02-24T15:54:57.432-0800 [DEBUG] ReferenceTransformer: "hcp_vault_cluster.example" references: [hcp_hvn.example]
2022-02-24T15:54:57.432-0800 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2022-02-24T15:54:57.432-0800 [DEBUG] Starting graph walk: walkValidate
2022-02-24T15:54:57.432-0800 [DEBUG] created provider logger: level=debug
2022-02-24T15:54:57.432-0800 [INFO] provider: configuring client automatic mTLS
2022-02-24T15:54:57.440-0800 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5]
2022-02-24T15:54:57.443-0800 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21516
2022-02-24T15:54:57.443-0800 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5
2022-02-24T15:54:57.456-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: configuring server automatic mTLS: timestamp=2022-02-24T15:54:57.456-0800
2022-02-24T15:54:57.487-0800 [DEBUG] provider.terraform-provider-hcp_v0.22.0_x5: plugin address: network=unix address=/var/folders/7k/9f8j2cks2_54nwypry2khclc0000gp/T/plugin684962603 timestamp=2022-02-24T15:54:57.487-0800
2022-02-24T15:54:57.487-0800 [DEBUG] provider: using plugin: version=5
2022-02-24T15:54:57.518-0800 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-24T15:54:57.520-0800 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21516
2022-02-24T15:54:57.520-0800 [DEBUG] provider: plugin exited
2022-02-24T15:54:57.520-0800 [INFO] backend/local: apply calling Plan
2022-02-24T15:54:57.520-0800 [DEBUG] Building and walking plan graph for NormalMode
2022-02-24T15:54:57.520-0800 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/hcp"], implied first by hcp_hvn.example (expand)
2022-02-24T15:54:57.520-0800 [DEBUG] ProviderTransformer: "hcp_hvn.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:54:57.520-0800 [DEBUG] ProviderTransformer: "hcp_vault_cluster.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:54:57.520-0800 [DEBUG] ReferenceTransformer: "hcp_hvn.example (expand)" references: []
2022-02-24T15:54:57.520-0800 [DEBUG] ReferenceTransformer: "hcp_vault_cluster.example (expand)" references: [hcp_hvn.example (expand)]
2022-02-24T15:54:57.520-0800 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2022-02-24T15:54:57.520-0800 [DEBUG] Starting graph walk: walkPlan
2022-02-24T15:54:57.520-0800 [DEBUG] created provider logger: level=debug
2022-02-24T15:54:57.520-0800 [INFO] provider: configuring client automatic mTLS
2022-02-24T15:54:57.528-0800 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5]
2022-02-24T15:54:57.531-0800 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21517
2022-02-24T15:54:57.531-0800 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5
2022-02-24T15:54:57.544-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: configuring server automatic mTLS: timestamp=2022-02-24T15:54:57.544-0800
2022-02-24T15:54:57.575-0800 [DEBUG] provider.terraform-provider-hcp_v0.22.0_x5: plugin address: network=unix address=/var/folders/7k/9f8j2cks2_54nwypry2khclc0000gp/T/plugin615657704 timestamp=2022-02-24T15:54:57.575-0800
2022-02-24T15:54:57.575-0800 [DEBUG] provider: using plugin: version=5
2022-02-24T15:54:57.604-0800 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/hcp\"]" changed the config value, but that value is unused
2022-02-24T15:54:58.422-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:54:58 HCP is fully operational.: timestamp=2022-02-24T15:54:58.422-0800
2022-02-24T15:54:58.422-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:54:58 [DEBUG] GET /resource-manager/2019-12-10/organizations HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:54:58.422-0800
2022-02-24T15:55:00.169-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:00 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"organizations":[{"id":"00000000-0000-0000-0000-000000000000","name":"andy-org","owner":{"user":"00000000-0000-0000-0000-000000000000"},"created_at":"2021-01-20T21:11:44.278626Z","state":"ACTIVE"}],"pagination":{"next_page_token":"","previous_page_token":""}}: timestamp=2022-02-24T15:55:00.168-0800
2022-02-24T15:55:00.169-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] GET /resource-manager/2019-12-10/projects?scope.id=00000000-0000-0000-0000-000000000000&scope.type=ORGANIZATION HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:00.169-0800
2022-02-24T15:55:00.279-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:00 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"projects":[{"id":"00000000-0000-0000-0000-000000000000","name":"andy-project","parent":{"type":"ORGANIZATION","id":"00000000-0000-0000-0000-000000000000"},"created_at":"2021-01-20T21:11:44.548394Z","state":"ACTIVE"}],"pagination":{"next_page_token":"","previous_page_token":""}}: timestamp=2022-02-24T15:55:00.279-0800
2022-02-24T15:55:00.279-0800 [DEBUG] ReferenceTransformer: "hcp_hvn.example" references: []
hcp_hvn.example: Refreshing state... [id=/project/00000000-0000-0000-0000-000000000000/hashicorp.network.hvn/hvn]
2022-02-24T15:55:00.281-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [INFO] Reading HVN (hvn) [project_id=00000000-0000-0000-0000-000000000000, organization_id=00000000-0000-0000-0000-000000000000]: timestamp=2022-02-24T15:55:00.281-0800
2022-02-24T15:55:00.281-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] GET /network/2020-09-07/organizations/00000000-0000-0000-0000-000000000000/projects/00000000-0000-0000-0000-000000000000/networks/hvn HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:00.281-0800
2022-02-24T15:55:00.396-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:00 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"network":{"id":"hvn","location":{"organization_id":"00000000-0000-0000-0000-000000000000","project_id":"00000000-0000-0000-0000-000000000000","region":{"provider":"aws","region":"us-west-2"}},"state":"STABLE","cidr_block":"172.25.16.0/20","created_at":"2022-02-24T23:41:17Z","provider_network_data":{"aws_network_data":{"account_id":"000000000000"}}}}: timestamp=2022-02-24T15:55:00.396-0800
2022-02-24T15:55:00.399-0800 [DEBUG] ReferenceTransformer: "hcp_vault_cluster.example" references: []
hcp_vault_cluster.example: Refreshing state... [id=/project/00000000-0000-0000-0000-000000000000/hashicorp.vault.cluster/vault-cluster]
2022-02-24T15:55:00.401-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [INFO] Reading Vault cluster (vault-cluster) [project_id=00000000-0000-0000-0000-000000000000, organization_id=00000000-0000-0000-0000-000000000000]: timestamp=2022-02-24T15:55:00.401-0800
2022-02-24T15:55:00.401-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] GET /vault/2020-11-25/organizations/00000000-0000-0000-0000-000000000000/projects/00000000-0000-0000-0000-000000000000/clusters/vault-cluster HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:00.401-0800
2022-02-24T15:55:00.530-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:00 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:00 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"cluster":{"id":"vault-cluster","location":{"organization_id":"00000000-0000-0000-0000-000000000000","project_id":"00000000-0000-0000-0000-000000000000","region":{"provider":"aws","region":"us-west-2"}},"state":"RUNNING","config":{"vault_config":{"namespace":"admin","initial_version":"","max_lease_ttl":""},"network_config":{"network_id":"hvn","public_ips_enabled":false,"cors_config":{"enabled":false,"allowed_origins":[],"allowed_headers":[]}},"maintenance_config":null,"snapshot_config":{"periodic_snapshots_disabled":false},"capacity_config":{"num_servers":3},"vault_access":{"url":"https://vault-cluster.private.vault.00000000-0000-0000-0000-000000000000.aws.hashicorp.cloud:8200","root_token":"","recovery_key":""},"audit_config":{"audit_logs_disabled":false},"tier":"STANDARD_SMALL","metrics_config":null,"audit_log_export_config":null},"dns_names":{"private":"vault-cluster.private.vault.00000000-0000-0000-0000-000000000000.aws.hashicorp.cloud","public":""},"created_at":"2022-02-24T23:42:22.392199Z","current_version":"v1.9.2","performance_replication_info":null,"resource_id":"7f089f04-b2e6-4e90-9d12-2d7f441f9d3b"}}: timestamp=2022-02-24T15:55:00.530-0800
2022-02-24T15:55:00.530-0800 [WARN] Provider "registry.terraform.io/hashicorp/hcp" produced an unexpected new value for hcp_vault_cluster.example during refresh.
- .tier: was cty.StringVal("standard_medium"), but now cty.StringVal("STANDARD_SMALL")
2022-02-24T15:55:00.533-0800 [WARN] Provider "registry.terraform.io/hashicorp/hcp" produced an invalid plan for hcp_vault_cluster.example, 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:
- .public_endpoint: planned value cty.False for a non-computed attribute
2022-02-24T15:55:00.534-0800 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-24T15:55:00.537-0800 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21517
2022-02-24T15:55:00.537-0800 [DEBUG] provider: plugin exited
Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the last "terraform apply":
# hcp_vault_cluster.example has changed
~ resource "hcp_vault_cluster" "example" {
id = "/project/00000000-0000-0000-0000-000000000000/hashicorp.vault.cluster/vault-cluster"
~ tier = "standard_medium" -> "STANDARD_SMALL"
# (11 unchanged attributes hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the
following plan may include actions to undo or respond to these changes.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
~ update in-place
Terraform will perform the following actions:
# hcp_vault_cluster.example will be updated in-place
~ resource "hcp_vault_cluster" "example" {
id = "/project/00000000-0000-0000-0000-000000000000/hashicorp.vault.cluster/vault-cluster"
~ tier = "STANDARD_SMALL" -> "standard_medium"
# (11 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
2022-02-24T15:55:00.539-0800 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
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
2022-02-24T15:55:08.055-0800 [INFO] backend/local: apply calling Apply
2022-02-24T15:55:08.055-0800 [DEBUG] Building and walking apply graph for NormalMode plan
2022-02-24T15:55:08.055-0800 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/hcp"], implied first by hcp_hvn.example (expand)
2022-02-24T15:55:08.055-0800 [DEBUG] ProviderTransformer: "hcp_vault_cluster.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:55:08.055-0800 [DEBUG] ProviderTransformer: "hcp_vault_cluster.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:55:08.055-0800 [DEBUG] ProviderTransformer: "hcp_hvn.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/hcp"]
2022-02-24T15:55:08.056-0800 [DEBUG] ReferenceTransformer: "hcp_hvn.example (expand)" references: []
2022-02-24T15:55:08.056-0800 [DEBUG] ReferenceTransformer: "hcp_vault_cluster.example (expand)" references: []
2022-02-24T15:55:08.056-0800 [DEBUG] ReferenceTransformer: "hcp_vault_cluster.example" references: [hcp_hvn.example (expand)]
2022-02-24T15:55:08.056-0800 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/hcp\"]" references: []
2022-02-24T15:55:08.056-0800 [DEBUG] Starting graph walk: walkApply
2022-02-24T15:55:08.056-0800 [DEBUG] created provider logger: level=debug
2022-02-24T15:55:08.056-0800 [INFO] provider: configuring client automatic mTLS
2022-02-24T15:55:08.064-0800 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5]
2022-02-24T15:55:08.067-0800 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21539
2022-02-24T15:55:08.067-0800 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5
2022-02-24T15:55:08.080-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: configuring server automatic mTLS: timestamp=2022-02-24T15:55:08.080-0800
2022-02-24T15:55:08.111-0800 [DEBUG] provider.terraform-provider-hcp_v0.22.0_x5: plugin address: address=/var/folders/7k/9f8j2cks2_54nwypry2khclc0000gp/T/plugin826278526 network=unix timestamp=2022-02-24T15:55:08.111-0800
2022-02-24T15:55:08.111-0800 [DEBUG] provider: using plugin: version=5
2022-02-24T15:55:08.139-0800 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/hcp\"]" changed the config value, but that value is unused
2022-02-24T15:55:08.595-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:08 HCP is fully operational.: timestamp=2022-02-24T15:55:08.595-0800
2022-02-24T15:55:08.595-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:08 [DEBUG] GET /resource-manager/2019-12-10/organizations HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:08.595-0800
2022-02-24T15:55:09.247-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:09 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"organizations":[{"id":"00000000-0000-0000-0000-000000000000","name":"andy-org","owner":{"user":"00000000-0000-0000-0000-000000000000"},"created_at":"2021-01-20T21:11:44.278626Z","state":"ACTIVE"}],"pagination":{"next_page_token":"","previous_page_token":""}}: timestamp=2022-02-24T15:55:09.247-0800
2022-02-24T15:55:09.247-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] GET /resource-manager/2019-12-10/projects?scope.id=00000000-0000-0000-0000-000000000000&scope.type=ORGANIZATION HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:09.247-0800
2022-02-24T15:55:09.351-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:09 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"projects":[{"id":"00000000-0000-0000-0000-000000000000","name":"andy-project","parent":{"type":"ORGANIZATION","id":"00000000-0000-0000-0000-000000000000"},"created_at":"2021-01-20T21:11:44.548394Z","state":"ACTIVE"}],"pagination":{"next_page_token":"","previous_page_token":""}}: timestamp=2022-02-24T15:55:09.351-0800
2022-02-24T15:55:09.355-0800 [WARN] Provider "registry.terraform.io/hashicorp/hcp" produced an invalid plan for hcp_vault_cluster.example, 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:
- .public_endpoint: planned value cty.False for a non-computed attribute
hcp_vault_cluster.example: Modifying... [id=/project/00000000-0000-0000-0000-000000000000/hashicorp.vault.cluster/vault-cluster]
2022-02-24T15:55:09.356-0800 [INFO] Starting apply for hcp_vault_cluster.example
2022-02-24T15:55:09.356-0800 [DEBUG] hcp_vault_cluster.example: applying the planned Update change
2022-02-24T15:55:09.357-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [INFO] Reading Vault cluster (vault-cluster) [project_id=00000000-0000-0000-0000-000000000000, organization_id=00000000-0000-0000-0000-000000000000]: timestamp=2022-02-24T15:55:09.357-0800
2022-02-24T15:55:09.357-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] GET /vault/2020-11-25/organizations/00000000-0000-0000-0000-000000000000/projects/00000000-0000-0000-0000-000000000000/clusters/vault-cluster HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Accept: application/json
Accept-Encoding: gzip
: timestamp=2022-02-24T15:55:09.357-0800
2022-02-24T15:55:09.476-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] HTTP/2.0 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:09 GMT
Grpc-Metadata-Content-Type: application/grpc
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"cluster":{"id":"vault-cluster","location":{"organization_id":"00000000-0000-0000-0000-000000000000","project_id":"00000000-0000-0000-0000-000000000000","region":{"provider":"aws","region":"us-west-2"}},"state":"RUNNING","config":{"vault_config":{"namespace":"admin","initial_version":"","max_lease_ttl":""},"network_config":{"network_id":"hvn","public_ips_enabled":false,"cors_config":{"enabled":false,"allowed_origins":[],"allowed_headers":[]}},"maintenance_config":null,"snapshot_config":{"periodic_snapshots_disabled":false},"capacity_config":{"num_servers":3},"vault_access":{"url":"https://vault-cluster.private.vault.00000000-0000-0000-0000-000000000000.aws.hashicorp.cloud:8200","root_token":"","recovery_key":""},"audit_config":{"audit_logs_disabled":false},"tier":"STANDARD_SMALL","metrics_config":null,"audit_log_export_config":null},"dns_names":{"private":"vault-cluster.private.vault.00000000-0000-0000-0000-000000000000.aws.hashicorp.cloud","public":""},"created_at":"2022-02-24T23:42:22.392199Z","current_version":"v1.9.2","performance_replication_info":null,"resource_id":"7f089f04-b2e6-4e90-9d12-2d7f441f9d3b"}}: timestamp=2022-02-24T15:55:09.476-0800
2022-02-24T15:55:09.477-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] PATCH /vault/2020-11-25/organizations/00000000-0000-0000-0000-000000000000/projects/00000000-0000-0000-0000-000000000000/clusters/vault-cluster HTTP/1.1
Host: api.cloud.hashicorp.com
User-Agent: Go-http-client/1.1
Content-Length: 230
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{"config":{"tier":"STANDARD_MEDIUM"},"id":"vault-cluster","location":{"organization_id":"00000000-0000-0000-0000-000000000000","project_id":"00000000-0000-0000-0000-000000000000","region":{"provider":"aws","region":"us-west-2"}}}: timestamp=2022-02-24T15:55:09.477-0800
2022-02-24T15:55:09.601-0800 [INFO] provider.terraform-provider-hcp_v0.22.0_x5: 2022/02/24 15:55:09 [DEBUG] HTTP/2.0 403 Forbidden
Access-Control-Allow-Origin: *
Cache-Control: no-store, max-age=0
Content-Type: application/json
Date: Thu, 24 Feb 2022 23:55:09 GMT
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
{"error":"","code":7,"message":"","details":[]}: timestamp=2022-02-24T15:55:09.601-0800
2022-02-24T15:55:09.623-0800 [ERROR] vertex "hcp_vault_cluster.example" error: error updating Vault cluster tier (vault-cluster): [PATCH /vault/2020-11-25/organizations/{cluster.location.organization_id}/projects/{cluster.location.project_id}/clusters/{cluster.id}][403] Update default &{Code:7 Details:[] Error: Message:}
│ Error: error updating Vault cluster tier (vault-cluster): [PATCH /vault/2020-11-25/organizations/{cluster.location.organization_id}/projects/{cluster.location.project_id}/clusters/{cluster.id}][403] Update default &{Code:7 Details:[] Error: Message:}
│ with hcp_vault_cluster.example,
│ on main.tf line 8, in resource "hcp_vault_cluster" "example":
│ 8: resource "hcp_vault_cluster" "example" {
2022-02-24T15:55:09.646-0800 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-24T15:55:09.649-0800 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/hcp/0.22.0/darwin_amd64/terraform-provider-hcp_v0.22.0_x5 pid=21539
2022-02-24T15:55:09.649-0800 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment