Skip to content

ERROR: Read resource response is null for resource aws_vpc.tfer #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ghstridr opened this issue Feb 11, 2025 · 0 comments
Open

ERROR: Read resource response is null for resource aws_vpc.tfer #1981

ghstridr opened this issue Feb 11, 2025 · 0 comments

Comments

@ghstridr
Copy link

ghstridr commented Feb 11, 2025

Terraformer version: 0.8.4
Terraform version: 4.67.0
AWS Provider: v4.67.0_x5
Cmdline: terraformer import aws --resources=vpc --regions=us-west-2
OS: MacOS Ventura 13.7.3

Error: Check the title, that says it all
Expected: Terraform output of the VPCs that Terraformer can find.

--verbose output:
2025/02/11 13:34:53 aws importing region us-west-2
2025-02-11T13:34:53.600-0800 [INFO] plugin: configuring client automatic mTLS
2025-02-11T13:34:53.624-0800 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.67.0/darwin_amd64/terraform-provider-aws_v4.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/4.67.0/darwin_amd64/terraform-provider-aws_v4.67.0_x5"]
2025-02-11T13:34:53.629-0800 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.67.0/darwin_amd64/terraform-provider-aws_v4.67.0_x5 pid=12598
2025-02-11T13:34:53.629-0800 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.67.0/darwin_amd64/terraform-provider-aws_v4.67.0_x5
2025-02-11T13:34:53.912-0800 [INFO] plugin.terraform-provider-aws_v4.67.0_x5: configuring server automatic mTLS: timestamp=2025-02-11T13:34:53.912-0800
2025-02-11T13:34:53.934-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: plugin address: address=/var/folders/v8/rqzm8n811jlcms50dqtvg3z00000gn/T/plugin2488967008 network=unix timestamp=2025-02-11T13:34:53.934-0800
2025-02-11T13:34:53.934-0800 [DEBUG] plugin: using plugin: version=5
2025-02-11T13:34:53.948-0800 [TRACE] plugin.stdio: waiting for stdio data
2025-02-11T13:34:53.949-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received request: @module=sdk.proto tf_proto_version=5.3 tf_req_id=b3b29d34-22e5-8054-0b3b-2656af33eb39 @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:491 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=GetProviderSchema timestamp=2025-02-11T13:34:53.949-0800
2025-02-11T13:34:53.949-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=GetProviderSchema @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_proto_version=5.3 tf_req_id=b3b29d34-22e5-8054-0b3b-2656af33eb39 timestamp=2025-02-11T13:34:53.949-0800
2025-02-11T13:34:53.949-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: serving cached schema information: @caller=github.com/hashicorp/[email protected]/internal/logging/mux.go:16 @module=sdk.mux tf_rpc=GetProviderSchema timestamp=2025-02-11T13:34:53.949-0800
2025-02-11T13:34:53.949-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received downstream response: diagnostic_warning_count=0 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_duration_ms=0 tf_req_id=b3b29d34-22e5-8054-0b3b-2656af33eb39 @module=sdk.proto tf_rpc=GetProviderSchema @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 diagnostic_error_count=0 timestamp=2025-02-11T13:34:53.949-0800
2025-02-11T13:34:53.987-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Served request: tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=b3b29d34-22e5-8054-0b3b-2656af33eb39 tf_rpc=GetProviderSchema @module=sdk.proto @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:510 timestamp=2025-02-11T13:34:53.987-0800
2025-02-11T13:34:54.218-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received request: tf_rpc=Configure @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:547 @module=sdk.proto tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.218-0800
2025-02-11T13:34:54.218-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=Configure @caller=github.com/hashicorp/[email protected]/internal/logging/protocol_data.go:38 @module=sdk.proto tf_proto_version=5.3 tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.218-0800
2025-02-11T13:34:54.218-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Sending request downstream: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @module=sdk.proto tf_rpc=Configure timestamp=2025-02-11T13:34:54.218-0800
2025-02-11T13:34:54.218-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: calling downstream server: @module=sdk.mux tf_mux_provider="schema.GRPCProviderServer" tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/logging/mux.go:16 timestamp=2025-02-11T13:34:54.218-0800
2025-02-11T13:34:54.218-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Calling downstream: tf_mux_provider="schema.GRPCProviderServer" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:556 @module=sdk.helper_schema timestamp=2025-02-11T13:34:54.218-0800
2025-02-11T13:34:54.219-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Configuring Terraform AWS Provider: tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws @module=aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:133 timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.219-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Resolving AWS configuration: tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @module=aws.aws-base tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:49 timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.219-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Resolving credentials provider: @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @module=aws.aws-base tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.219-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Building default HTTP client: @module=aws.aws-base tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:49 tf_mux_provider="schema.GRPCProviderServer" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.219-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Loading configuration: @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 @module=aws.aws-base tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.220-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Retrieving credentials: tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 @module=aws.aws-base tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.219-0800
2025-02-11T13:34:54.220-0800 [INFO] plugin.terraform-provider-aws_v4.67.0_x5: Retrieved credentials: tf_mux_provider="schema.GRPCProviderServer" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:33 @module=aws.aws-base tf_aws.credentials_source=EnvConfigCredentials tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.220-0800
2025-02-11T13:34:54.220-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Building default HTTP client: @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:49 tf_mux_provider="schema.GRPCProviderServer" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @module=aws.aws-base tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.220-0800
2025-02-11T13:34:54.220-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Loading configuration: tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 @module=aws.aws-base tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.220-0800
2025-02-11T13:34:54.220-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Retrieving caller identity from STS: tf_mux_provider="schema.GRPCProviderServer" @module=aws.aws-base tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.220-0800
2025-02-11T13:34:54.221-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Request Sent: http.method=POST http.request.header.authorization="AWS4-HMAC-SHA256 Credential=ASIA
4ABZ/20250211/us-west-2/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=" http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/0.12.31 (+https://www.terraform.io) terraform-provider-aws/4.67.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.18.0 os/macos lang/go/1.19.8 md/GOOS/darwin md/GOARCH/amd64 api/sts/1.18.11" net.peer.name=sts.us-west-2.amazonaws.com http.request.header.content_type=application/x-www-form-urlencoded http.request.header.x_amz_date=20250211T213454Z http.request.header.x_amz_security_token="" tf_mux_provider="schema.GRPCProviderServer" aws.sdk=aws-sdk-go-v2 http.request.body="Action=GetCallerIdentity&Version=2011-06-15" http.request.header.amz_sdk_request="attempt=1; max=25" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 http.url=https://sts.us-west-2.amazonaws.com/ tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 aws.operation=GetCallerIdentity aws.region=us-west-2 http.request_content_length=43 http.request.header.amz_sdk_invocation_id=f92bae13-970a-4b92-b84c-204b4cb5991f @module=aws.aws-base aws.service=STS timestamp=2025-02-11T13:34:54.221-0800
2025-02-11T13:34:54.357-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Response Received: @module=aws.aws-base tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 aws.service=STS http.duration=135
http.response.body=
|
|
| arn:aws:sts::229616230816:assumed-role/AWSReservedSSO_PowerUserAccess_38acc90fb2dc2d85/michael-toptal
| AROA
XUN2:michael-toptal
| 229616230816
|
|
| 11e8558e-5475-4153-b95a-b83144c2c400
|
|
http.response.header.content_type=text/xml http.response.header.date="Tue, 11 Feb 2025 21:34:54 GMT" http.status_code=200 aws.operation=GetCallerIdentity aws.sdk=aws-sdk-go-v2 tf_provider_addr=registry.terraform.io/hashicorp/aws aws.region=us-west-2 http.response.header.x_amzn_requestid=11e8558e-5475-4153-b95a-b83144c2c400 http.response_content_length=482 tf_mux_provider="schema.GRPCProviderServer" tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 timestamp=2025-02-11T13:34:54.357-0800
2025-02-11T13:34:54.357-0800 [INFO] plugin.terraform-provider-aws_v4.67.0_x5: Retrieved caller identity from STS: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:33 @module=aws.aws-base tf_mux_provider="schema.GRPCProviderServer" tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.357-0800
2025-02-11T13:34:54.357-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Creating AWS SDK v1 session: tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @module=aws tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:146 timestamp=2025-02-11T13:34:54.357-0800
2025-02-11T13:34:54.358-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Retrieving AWS account details: @module=aws tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:152 tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.357-0800
2025-02-11T13:34:54.358-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Retrieving caller identity from STS: tf_rpc=ConfigureProvider @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 @module=aws.aws-base tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.358-0800
2025-02-11T13:34:54.358-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Request Sent: aws.region=us-west-2 aws.sdk=aws-sdk-go-v2 http.method=POST http.request.header.content_type=application/x-www-form-urlencoded http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/0.12.31 (+https://www.terraform.io) terraform-provider-aws/4.67.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.18.0 os/macos lang/go/1.19.8 md/GOOS/darwin md/GOARCH/amd64 api/sts/1.18.11" tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 http.request.body="Action=GetCallerIdentity&Version=2011-06-15" http.request.header.authorization="AWS4-HMAC-SHA256 Credential=ASIA
4ABZ/20250211/us-west-2/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=" http.request.header.x_amz_date=20250211T213454Z http.url=https://sts.us-west-2.amazonaws.com/ tf_mux_provider="*schema.GRPCProviderServer" tf_rpc=ConfigureProvider http.request.header.amz_sdk_request="attempt=1; max=25" http.request.header.x_amz_security_token="" http.request_content_length=43 net.peer.name=sts.us-west-2.amazonaws.com @module=aws.aws-base aws.operation=GetCallerIdentity aws.service=STS http.request.header.amz_sdk_invocation_id=f7b1224a-bd3a-4cb4-8e18-894d90514908 tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.358-0800
2025-02-11T13:34:54.383-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Response Received: aws.service=STS http.status_code=200 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider aws.operation=GetCallerIdentity aws.region=us-west-2 aws.sdk=aws-sdk-go-v2 http.duration=24 http.response.header.x_amzn_requestid=0cdc4985-9f4f-4b7d-b682-0a7c229af4e0 http.response.header.date="Tue, 11 Feb 2025 21:34:54 GMT" http.response_content_length=482 tf_mux_provider="schema.GRPCProviderServer" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 http.response.header.content_type=text/xml @module=aws.aws-base
http.response.body=
|
|
| arn:aws:sts::229616230816:assumed-role/AWSReservedSSO_PowerUserAccess_38acc90fb2dc2d85/michael-toptal
| AROA
*******XUN2:michael-toptal
| 229616230816
|
|
| 0cdc4985-9f4f-4b7d-b682-0a7c229af4e0
|
|
@caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:41 timestamp=2025-02-11T13:34:54.383-0800
2025-02-11T13:34:54.383-0800 [INFO] plugin.terraform-provider-aws_v4.67.0_x5: Retrieved caller identity from STS: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @module=aws.aws-base tf_mux_provider="*schema.GRPCProviderServer" @caller=github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/logger.go:33 timestamp=2025-02-11T13:34:54.383-0800
2025-02-11T13:34:54.388-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Called downstream: tf_rpc=ConfigureProvider tf_mux_provider="*schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:558 @module=sdk.helper_schema tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.388-0800
2025-02-11T13:34:54.388-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: calling downstream server: @module=sdk.mux tf_mux_provider="*proto5server.Server" tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/logging/mux.go:16 timestamp=2025-02-11T13:34:54.388-0800
2025-02-11T13:34:54.388-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Checking ProviderSchema lock: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server.go:261 @module=sdk.framework tf_mux_provider="*proto5server.Server" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider timestamp=2025-02-11T13:34:54.388-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Transforming empty block to null block: @module=sdk.framework tf_attribute_path=assume_role tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/data_nullify_collection_blocks.go:72 description=configuration tf_mux_provider="*proto5server.Server" tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Transforming empty block to null block: description=configuration tf_attribute_path=endpoints tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/data_nullify_collection_blocks.go:72 @module=sdk.framework tf_mux_provider="*proto5server.Server" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Transforming empty block to null block: @module=sdk.framework tf_attribute_path=default_tags tf_provider_addr=registry.terraform.io/hashicorp/aws tf_mux_provider="*proto5server.Server" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/data_nullify_collection_blocks.go:72 description=configuration timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Transforming empty block to null block: tf_rpc=ConfigureProvider description=configuration tf_attribute_path=ignore_tags tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/data_nullify_collection_blocks.go:72 @module=sdk.framework tf_mux_provider="proto5server.Server" timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Transforming empty block to null block: tf_rpc=ConfigureProvider description=configuration tf_mux_provider="proto5server.Server" tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/data_nullify_collection_blocks.go:72 @module=sdk.framework tf_attribute_path=assume_role_with_web_identity tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_configureprovider.go:12 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_mux_provider="proto5server.Server" timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: Called provider defined Provider Configure: tf_rpc=ConfigureProvider @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_configureprovider.go:20 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 @module=sdk.framework tf_mux_provider="proto5server.Server" timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=Configure @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=171 tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_proto_version=5.3 timestamp=2025-02-11T13:34:54.389-0800
2025-02-11T13:34:54.389-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Served request: tf_req_id=e7557cd0-6556-de68-163c-8d497c12a5e4 tf_rpc=Configure @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:567 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws @module=sdk.proto timestamp=2025-02-11T13:34:54.389-0800
2025/02/11 13:34:54 aws importing... vpc
2025/02/11 13:34:54 aws done importing vpc
2025/02/11 13:34:54 Number of resources for service vpc: 1
2025/02/11 13:34:54 Refreshing state... aws_vpc.tfer--vpc-e482c780
2025-02-11T13:34:54.577-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received request: @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_vpc tf_rpc=ReadResource @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:737 tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_proto_version=5.3 timestamp=2025-02-11T13:34:54.577-0800
2025-02-11T13:34:54.577-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Sending request downstream: tf_proto_version=5.3 tf_resource_type=aws_vpc @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_rpc=ReadResource timestamp=2025-02-11T13:34:54.577-0800
2025-02-11T13:34:54.577-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: calling downstream server: @caller=github.com/hashicorp/[email protected]/internal/logging/mux.go:16 @module=sdk.mux tf_mux_provider="schema.GRPCProviderServer" tf_rpc=ReadResource timestamp=2025-02-11T13:34:54.577-0800
2025-02-11T13:34:54.578-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Calling downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1014 @module=sdk.helper_schema tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_resource_type=aws_vpc tf_rpc=ReadResource timestamp=2025-02-11T13:34:54.578-0800
2025-02-11T13:34:54.578-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: [DEBUG] Waiting for state to become: [success]
2025-02-11T13:34:54.578-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Request Sent: http.request.header.x_amz_date=20250211T213454Z http.request.header.x_amz_security_token="" http.request_content_length=59 tf_mux_provider="schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws http.flavor=1.1 http.method=POST http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/0.12.31 (+https://www.terraform.io) terraform-provider-aws/4.67.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.261 (go1.19.8; darwin; amd64)" net.peer.name=ec2.us-west-2.amazonaws.com tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_resource_type=aws_vpc http.request.header.authorization="AWS4-HMAC-SHA256 Credential=ASIA
4ABZ/20250211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=*****" http.request.header.content_type="application/x-www-form-urlencoded; charset=utf-8" http.request.body="Action=DescribeVpcs&Version=2016-11-15&VpcId.1=vpc-e482c780" http.url=https://ec2.us-west-2.amazonaws.com/ tf_rpc=ReadResource @module=aws aws.region=us-west-2 aws.operation=DescribeVpcs aws.sdk=aws-sdk-go aws.service=EC2 @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/[email protected]/logger.go:90 timestamp=2025-02-11T13:34:54.578-0800
2025-02-11T13:34:54.739-0800 [DEBUG] plugin.terraform-provider-aws_v4.67.0_x5: HTTP Response Received: aws.service=EC2 http.response.header.cache_control="no-cache, no-store" http.response.header.content_type=text/xml;charset=UTF-8 http.response.header.date="Tue, 11 Feb 2025 21:34:54 GMT" http.response.header.vary=accept-encoding tf_mux_provider="*schema.GRPCProviderServer" @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/[email protected]/logger.go:138 @module=aws aws.region=us-west-2 tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_resource_type=aws_vpc tf_rpc=ReadResource aws.operation=DescribeVpcs aws.sdk=aws-sdk-go http.response.header.server=AmazonEC2 http.response.header.strict_transport_security="max-age=31536000; includeSubDomains" tf_provider_addr=registry.terraform.io/hashicorp/aws http.duration=160
http.response.body=
|
| InvalidVpcID.NotFoundThe vpc ID 'vpc-e482c780' does not exist6f6b457a-d86d-406c-964f-3e1a08691ec2
http.response.header.x_amzn_requestid=6f6b457a-d86d-406c-964f-3e1a08691ec2 http.status_code=400 timestamp=2025-02-11T13:34:54.739-0800
2025-02-11T13:34:54.739-0800 [WARN] plugin.terraform-provider-aws_v4.67.0_x5: [WARN] EC2 VPC vpc-e482c780 not found, removing from state
2025-02-11T13:34:54.739-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Called downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1016 tf_mux_provider="*schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_resource_type=aws_vpc tf_rpc=ReadResource @module=sdk.helper_schema timestamp=2025-02-11T13:34:54.739-0800
2025-02-11T13:34:54.739-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Received downstream response: diagnostic_error_count=0 tf_req_duration_ms=161 tf_resource_type=aws_vpc @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto diagnostic_warning_count=0 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_rpc=ReadResource timestamp=2025-02-11T13:34:54.739-0800
2025-02-11T13:34:54.739-0800 [TRACE] plugin.terraform-provider-aws_v4.67.0_x5: Served request: tf_req_id=41a623da-ae83-10fc-61a9-a034ee49fee0 tf_resource_type=aws_vpc @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:761 @module=sdk.proto tf_rpc=ReadResource tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2025-02-11T13:34:54.739-0800
2025/02/11 13:34:54 ERROR: Read resource response is null for resource aws_vpc.tfer--vpc-e482c780
2025/02/11 13:34:54 ERROR: Unable to refresh resource tfer--vpc-e482c780
2025/02/11 13:34:54 Filtered number of resources for service vpc: 0
2025/02/11 13:34:54 aws Connecting....
2025/02/11 13:34:54 aws save vpc
2025/02/11 13:34:54 aws save tfstate for vpc
2025-02-11T13:34:54.741-0800 [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-02-11T13:34:54.753-0800 [INFO] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.67.0/darwin_amd64/terraform-provider-aws_v4.67.0_x5 pid=12598
2025-02-11T13:34:54.753-0800 [DEBUG] plugin: plugin exited

Edit: Added OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant