hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.75k stars 9.11k forks source link

[Bug]: Unable to retrieve Nat Gateway IP address from a datasource aws_nat_gateway #26851

Open jparnaudeau opened 2 years ago

jparnaudeau commented 2 years ago

Terraform Core Version

1.2.9

AWS Provider Version

4.31.0

Affected Resource(s)

Expected Behavior

We should retrieve the IP address of the NAT Gateway. If i launch in DEBUG mode, i see that the IP address is correctly retrieved in the logs.

Actual Behavior

The provider returns null.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

data "aws_nat_gateway" "ngw_test" {
  vpc_id    = "vpc-0b6bd1b9f4b964676"
  subnet_id = "subnet-0cf67bc0a4b6dda0e"
  id        = "nat-0aefbe12e69583244"
}

output "nategateway_ip" {
  value       = coalesce(data.aws_nat_gateway.ngw_test.private_ip, "IP NOT FOUND")
  description = "The NatGateway IP Address"
}

output "nategateway_id" {
  value       = data.aws_nat_gateway.ngw_test.id
  description = "The NatGateway ID"
}

Steps to Reproduce

terraform init terraform apply --auto-approve

Outputs:

nategateway_id = "nat-0aefbe12e69583244"
nategateway_ip = "IP NOT FOUND"

Debug Output

in the debug output, we see :

2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: -----------------------------------------------------
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: <DescribeNatGatewaysResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <requestId>953f952f-4ff4-4c1b-b047-49b697b1c3c4</requestId>
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <natGatewaySet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         <item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <connectivityType>private</connectivityType>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <createTime>2022-08-18T08:18:13.000Z</createTime>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <natGatewayAddressSet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 <item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <networkInterfaceId>eni-0598fb98cd63d1b66</networkInterfaceId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <privateIp>10.0.10.10</privateIp>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 </item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             </natGatewayAddressSet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <natGatewayId>nat-0aefbe12e69583244</natGatewayId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <state>available</state>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <subnetId>subnet-0af67bc0a4b6dda0e</subnetId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <tagSet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 <item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <key>Name</key>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <value>mynat</value>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 </item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             </tagSet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <vpcId>vpc-0b6bd1b9f4b964676</vpcId>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         </item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     </natGatewaySet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: </DescribeNatGatewaysResponse>
2022-09-18T18:26:09.796+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-09-18T18:26:09.798+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7552

So the IP address is correctly retrieved by the api.

The complete log :


2022-09-18T18:26:07.192+0200 [INFO]  Terraform version: 1.2.4
2022-09-18T18:26:07.192+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-09-18T18:26:07.192+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-09-18T18:26:07.192+0200 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-09-18T18:26:07.192+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-09-18T18:26:07.192+0200 [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-09-18T18:26:07.192+0200 [INFO]  Go runtime version: go1.18.1
2022-09-18T18:26:07.192+0200 [INFO]  CLI args: []string{"/home/jparnaudeau/.tfenv/versions/1.2.4/terraform", "apply", "--auto-approve"}
2022-09-18T18:26:07.192+0200 [DEBUG] Attempting to open CLI config file: /home/jparnaudeau/.terraformrc
2022-09-18T18:26:07.192+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory /home/jparnaudeau/.terraform.d/plugins
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory /home/jparnaudeau/.local/share/terraform/plugins
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2022-09-18T18:26:07.192+0200 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2022-09-18T18:26:07.193+0200 [INFO]  CLI command args: []string{"apply", "--auto-approve"}
2022-09-18T18:26:07.194+0200 [DEBUG] New state was assigned lineage "9e50ed17-e11d-6b46-2f50-5848d1fa701c"
2022-09-18T18:26:07.811+0200 [DEBUG] checking for provisioner in "."
2022-09-18T18:26:07.811+0200 [DEBUG] checking for provisioner in "/home/jparnaudeau/.tfenv/versions/1.2.4"
2022-09-18T18:26:07.811+0200 [INFO]  backend/local: starting Apply operation
2022-09-18T18:26:07.812+0200 [DEBUG] created provider logger: level=debug
2022-09-18T18:26:07.812+0200 [INFO]  provider: configuring client automatic mTLS
2022-09-18T18:26:07.827+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5]
2022-09-18T18:26:07.828+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7518
2022-09-18T18:26:07.828+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5
2022-09-18T18:26:07.946+0200 [INFO]  provider.terraform-provider-aws_v4.31.0_x5: configuring server automatic mTLS: timestamp=2022-09-18T18:26:07.946+0200
2022-09-18T18:26:07.961+0200 [DEBUG] provider: using plugin: version=5
2022-09-18T18:26:07.961+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: plugin address: address=/tmp/plugin3618953654 network=unix timestamp=2022-09-18T18:26:07.961+0200
2022-09-18T18:26:08.127+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-09-18T18:26:08.129+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7518
2022-09-18T18:26:08.129+0200 [DEBUG] provider: plugin exited
2022-09-18T18:26:08.129+0200 [DEBUG] Building and walking validate graph
2022-09-18T18:26:08.129+0200 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/aws"], implied first by data.aws_nat_gateway.ngw_test
2022-09-18T18:26:08.129+0200 [DEBUG] ProviderTransformer: "data.aws_nat_gateway.ngw_test" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-09-18T18:26:08.129+0200 [DEBUG] ReferenceTransformer: "output.nategateway_ip" references: [data.aws_nat_gateway.ngw_test]
2022-09-18T18:26:08.129+0200 [DEBUG] ReferenceTransformer: "output.nategateway_id" references: [data.aws_nat_gateway.ngw_test]
2022-09-18T18:26:08.129+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-09-18T18:26:08.129+0200 [DEBUG] ReferenceTransformer: "data.aws_nat_gateway.ngw_test" references: []
2022-09-18T18:26:08.130+0200 [DEBUG] Starting graph walk: walkValidate
2022-09-18T18:26:08.130+0200 [DEBUG] created provider logger: level=debug
2022-09-18T18:26:08.130+0200 [INFO]  provider: configuring client automatic mTLS
2022-09-18T18:26:08.145+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5]
2022-09-18T18:26:08.145+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7538
2022-09-18T18:26:08.145+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5
2022-09-18T18:26:08.257+0200 [INFO]  provider.terraform-provider-aws_v4.31.0_x5: configuring server automatic mTLS: timestamp=2022-09-18T18:26:08.256+0200
2022-09-18T18:26:08.272+0200 [DEBUG] provider: using plugin: version=5
2022-09-18T18:26:08.272+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: plugin address: address=/tmp/plugin1253051952 network=unix timestamp=2022-09-18T18:26:08.272+0200
2022-09-18T18:26:08.377+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-09-18T18:26:08.378+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7538
2022-09-18T18:26:08.378+0200 [DEBUG] provider: plugin exited
2022-09-18T18:26:08.379+0200 [INFO]  backend/local: apply calling Plan
2022-09-18T18:26:08.379+0200 [DEBUG] Building and walking plan graph for NormalMode
2022-09-18T18:26:08.379+0200 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/aws"], implied first by data.aws_nat_gateway.ngw_test (expand)
2022-09-18T18:26:08.379+0200 [DEBUG] ProviderTransformer: "data.aws_nat_gateway.ngw_test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-09-18T18:26:08.379+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-09-18T18:26:08.379+0200 [DEBUG] ReferenceTransformer: "data.aws_nat_gateway.ngw_test (expand)" references: []
2022-09-18T18:26:08.379+0200 [DEBUG] ReferenceTransformer: "output.nategateway_ip" references: [data.aws_nat_gateway.ngw_test (expand)]
2022-09-18T18:26:08.379+0200 [DEBUG] ReferenceTransformer: "output.nategateway_id" references: [data.aws_nat_gateway.ngw_test (expand)]
2022-09-18T18:26:08.379+0200 [DEBUG] Starting graph walk: walkPlan
2022-09-18T18:26:08.379+0200 [DEBUG] created provider logger: level=debug
2022-09-18T18:26:08.379+0200 [INFO]  provider: configuring client automatic mTLS
2022-09-18T18:26:08.395+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5]
2022-09-18T18:26:08.395+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7552
2022-09-18T18:26:08.395+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5
2022-09-18T18:26:08.505+0200 [INFO]  provider.terraform-provider-aws_v4.31.0_x5: configuring server automatic mTLS: timestamp=2022-09-18T18:26:08.505+0200
2022-09-18T18:26:08.520+0200 [DEBUG] provider: using plugin: version=5
2022-09-18T18:26:08.520+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: plugin address: address=/tmp/plugin2078044127 network=unix timestamp=2022-09-18T18:26:08.520+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_attribute_path=allowed_account_ids tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_rpc=PrepareProviderConfig @module=sdk.framework tf_attribute_path=allowed_account_ids tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_mux_provider=*proto5server.Server @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_attribute_path=custom_ca_bundle tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_attribute_path=custom_ca_bundle tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @module=sdk.framework timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_attribute_path=s3_use_path_style timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @module=sdk.framework tf_attribute_path=s3_use_path_style @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=skip_get_ec2_platforms timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_attribute_path=skip_get_ec2_platforms tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig tf_mux_provider=*proto5server.Server timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_attribute_path=access_key tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.731+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=access_key tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @module=sdk.framework timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig tf_attribute_path=shared_credentials_file tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=shared_credentials_file timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=skip_requesting_account_id tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_attribute_path=skip_requesting_account_id tf_mux_provider=*proto5server.Server @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @module=sdk.framework tf_attribute_path=ec2_metadata_service_endpoint_mode tf_mux_provider=*proto5server.Server timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=ec2_metadata_service_endpoint_mode tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=region tf_mux_provider=*proto5server.Server timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @module=sdk.framework tf_attribute_path=region tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_mux_provider=*proto5server.Server timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=s3_force_path_style tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @module=sdk.framework tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig tf_attribute_path=s3_force_path_style tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=skip_metadata_api_check timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_attribute_path=skip_metadata_api_check tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_rpc=PrepareProviderConfig @module=sdk.framework tf_attribute_path=skip_region_validation tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=skip_region_validation tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.732+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig tf_attribute_path=profile tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @module=sdk.framework tf_attribute_path=profile tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_attribute_path=skip_credentials_validation tf_mux_provider=*proto5server.Server timestamp=2022-09-18T18:26:08.731+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_mux_provider=*proto5server.Server @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=skip_credentials_validation tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_attribute_path=token tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_provider_addr=registry.terraform.io/hashicorp/aws @module=sdk.framework timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=token tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=ec2_metadata_service_endpoint tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_attribute_path=ec2_metadata_service_endpoint tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_attribute_path=secret_key tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_attribute_path=secret_key @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_attribute_path=use_fips_endpoint tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @module=sdk.framework @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=use_fips_endpoint tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_attribute_path=http_proxy tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @module=sdk.framework tf_attribute_path=http_proxy tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_attribute_path=insecure tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_rpc=PrepareProviderConfig @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=insecure timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: tf_rpc=PrepareProviderConfig tf_attribute_path=use_dualstack_endpoint tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.733+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=use_dualstack_endpoint tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 @module=sdk.framework tf_attribute_path=forbidden_account_ids tf_rpc=PrepareProviderConfig tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=PrepareProviderConfig tf_attribute_path=forbidden_account_ids @module=sdk.framework tf_mux_provider=*proto5server.Server tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @module=sdk.framework tf_attribute_path=max_retries tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=max_retries tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @module=sdk.framework tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a @module=sdk.framework tf_attribute_path=sts_region tf_rpc=PrepareProviderConfig timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 @module=sdk.framework tf_attribute_path=sts_region tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a tf_rpc=PrepareProviderConfig tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:75 tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig @module=sdk.framework tf_attribute_path=sts_region tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.734+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Type Validate: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/config.go:77 tf_attribute_path=sts_region tf_mux_provider=*proto5server.Server tf_rpc=PrepareProviderConfig @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=8d0e8302-0a9c-d2ee-0a94-2a4f20f0e53a timestamp=2022-09-18T18:26:08.732+0200
2022-09-18T18:26:08.736+0200 [INFO]  provider.terraform-provider-aws_v4.31.0_x5: [INFO] Retrieved credentials from "SharedConfigCredentials: /home/jparnaudeau/.aws/credentials"
2022-09-18T18:26:08.736+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go-v2] Request
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: POST / HTTP/1.1
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Host: sts.eu-west-3.amazonaws.com
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.2.4 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.16.14 os/linux lang/go/1.18.4 md/GOOS/linux md/GOARCH/amd64 api/sts/1.16.4
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 43
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Amz-Sdk-Invocation-Id: f6a0fb8c-63ee-4b45-a973-09a7bb452233
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Amz-Sdk-Request: attempt=1; max=25
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: application/x-www-form-urlencoded
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amz-Date: 20220918T162608Z
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Accept-Encoding: gzip
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:08.737+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Action=GetCallerIdentity&Version=2011-06-15
2022-09-18T18:26:09.110+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go-v2] Response
2022-09-18T18:26:09.111+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: HTTP/1.1 200 OK
2022-09-18T18:26:09.111+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 534
2022-09-18T18:26:09.111+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: text/xml
2022-09-18T18:26:09.111+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Date: Sun, 18 Sep 2022 16:26:06 GMT
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amzn-Requestid: 736c7203-f784-4f64-9535-b16e9fc15aba
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   <GetCallerIdentityResult>
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <Arn>xxxxxxxxxxxxxx</Arn>
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <UserId>xxxxxxxxxxxxxx</UserId>
2022-09-18T18:26:09.112+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <Account>222222222222</Account>
2022-09-18T18:26:09.113+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   </GetCallerIdentityResult>
2022-09-18T18:26:09.113+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   <ResponseMetadata>
2022-09-18T18:26:09.113+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <RequestId>736c7203-f784-4f64-9535-b16e9fc15aba</RequestId>
2022-09-18T18:26:09.113+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   </ResponseMetadata>
2022-09-18T18:26:09.113+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: </GetCallerIdentityResponse>
2022-09-18T18:26:09.114+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go-v2] Request
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: POST / HTTP/1.1
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Host: sts.eu-west-3.amazonaws.com
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.2.4 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.16.14 os/linux lang/go/1.18.4 md/GOOS/linux md/GOARCH/amd64 api/sts/1.16.4
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 43
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Amz-Sdk-Invocation-Id: afd8b836-37b1-47f1-8ea2-0bbe43536262
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Amz-Sdk-Request: attempt=1; max=25
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: application/x-www-form-urlencoded
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amz-Date: 20220918T162609Z
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Accept-Encoding: gzip
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.115+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Action=GetCallerIdentity&Version=2011-06-15
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go-v2] Response
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: HTTP/1.1 200 OK
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 534
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: text/xml
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Date: Sun, 18 Sep 2022 16:26:06 GMT
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amzn-Requestid: 0810dd41-2ddc-4743-9f80-ee167017a9fd
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   <GetCallerIdentityResult>
2022-09-18T18:26:09.192+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <Arn>xxxxxxxx</Arn>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <UserId>xxxxxx</UserId>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <Account>222222222222</Account>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   </GetCallerIdentityResult>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   <ResponseMetadata>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <RequestId>0810dd41-2ddc-4743-9f80-ee167017a9fd</RequestId>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:   </ResponseMetadata>
2022-09-18T18:26:09.193+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: </GetCallerIdentityResponse>
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: ---[ REQUEST POST-SIGN ]-----------------------------
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: POST / HTTP/1.1
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Host: ec2.eu-west-3.amazonaws.com
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.2.4 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.94 (go1.18.4; linux; amd64)
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 87
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Authorization: AWS4-HMAC-SHA256 Credential=ASIA2LVTQT5TJRVFAVM3/20220918/eu-west-3/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=20a407e362efa6c3546085268a2b060928c9b7275797381ba9e53265a004c5a4
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amz-Date: 20220918T162609Z
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Accept-Encoding: gzip
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2022-09-18T18:26:09.197+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: -----------------------------------------------------
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: ---[ RESPONSE ]--------------------------------------
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: HTTP/1.1 200 OK
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 540
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Cache-Control: no-cache, no-store
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: text/xml;charset=UTF-8
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Date: Sun, 18 Sep 2022 16:26:06 GMT
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Server: AmazonEC2
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amzn-Requestid: 60d96dd2-73f2-4b3e-bac8-e871ecfb0d25
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: -----------------------------------------------------
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2022-09-18T18:26:09.646+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <requestId>60d96dd2-73f2-4b3e-bac8-e871ecfb0d25</requestId>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <accountAttributeSet>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         <item>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <attributeName>supported-platforms</attributeName>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <attributeValueSet>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 <item>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <attributeValue>VPC</attributeValue>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 </item>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             </attributeValueSet>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         </item>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     </accountAttributeSet>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: </DescribeAccountAttributesResponse>
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Calling provider defined Provider Configure: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/server_configureprovider.go:12 @module=sdk.framework tf_mux_provider=*proto5server.Server tf_req_id=ec78d7d4-e3e7-5bac-6d75-2baba2faaab8 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:09.647+0200
2022-09-18T18:26:09.647+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Called provider defined Provider Configure: @caller=github.com/hashicorp/terraform-plugin-framework@v0.11.1/internal/fwserver/server_configureprovider.go:20 @module=sdk.framework tf_mux_provider=*proto5server.Server tf_req_id=ec78d7d4-e3e7-5bac-6d75-2baba2faaab8 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2022-09-18T18:26:09.647+0200
2022-09-18T18:26:09.648+0200 [DEBUG] ReferenceTransformer: "data.aws_nat_gateway.ngw_test" references: []
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeNatGateways Details:
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: ---[ REQUEST POST-SIGN ]-----------------------------
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: POST / HTTP/1.1
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Host: ec2.eu-west-3.amazonaws.com
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.2.4 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.94 (go1.18.4; linux; amd64)
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Length: 208
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2022-09-18T18:26:09.653+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amz-Date: 20220918T162609Z
2022-09-18T18:26:09.654+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Accept-Encoding: gzip
2022-09-18T18:26:09.654+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.654+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Action=DescribeNatGateways&Filter.1.Name=subnet-id&Filter.1.Value.1=subnet-0af67bc0a4b6dda0e&Filter.2.Name=vpc-id&Filter.2.Value.1=vpc-0b6bd1b9f4b964676&NatGatewayId.1=nat-0aefbe12e69583244&Version=2016-11-15
2022-09-18T18:26:09.654+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: -----------------------------------------------------
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeNatGateways Details:
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: ---[ RESPONSE ]--------------------------------------
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: HTTP/1.1 200 OK
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Transfer-Encoding: chunked
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Cache-Control: no-cache, no-store
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Content-Type: text/xml;charset=UTF-8
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Date: Sun, 18 Sep 2022 16:26:07 GMT
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Server: AmazonEC2
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Strict-Transport-Security: max-age=31536000; includeSubDomains
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: Vary: accept-encoding
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: X-Amzn-Requestid: 953f952f-4ff4-4c1b-b047-49b697b1c3c4
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: -----------------------------------------------------
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: <DescribeNatGatewaysResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <requestId>953f952f-4ff4-4c1b-b047-49b697b1c3c4</requestId>
2022-09-18T18:26:09.788+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     <natGatewaySet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         <item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <connectivityType>private</connectivityType>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <createTime>2022-08-18T08:18:13.000Z</createTime>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <natGatewayAddressSet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 <item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <networkInterfaceId>eni-0598fb98cd63d1b66</networkInterfaceId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <privateIp>10.0.10.10</privateIp>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 </item>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             </natGatewayAddressSet>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <natGatewayId>nat-0aefbe12e69583244</natGatewayId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <state>available</state>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <subnetId>subnet-0af67bc0a4b6dda0e</subnetId>
2022-09-18T18:26:09.789+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <tagSet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 <item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <key>Name</key>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                     <value>mynat</value>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:                 </item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             </tagSet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:             <vpcId>vpc-0b6bd1b9f4b964676</vpcId>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:         </item>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5:     </natGatewaySet>
2022-09-18T18:26:09.791+0200 [DEBUG] provider.terraform-provider-aws_v4.31.0_x5: </DescribeNatGatewaysResponse>
2022-09-18T18:26:09.796+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-09-18T18:26:09.798+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.31.0/linux_amd64/terraform-provider-aws_v4.31.0_x5 pid=7552
2022-09-18T18:26:09.798+0200 [DEBUG] provider: plugin exited
2022-09-18T18:26:09.798+0200 [DEBUG] no planned changes, skipping apply graph check
2022-09-18T18:26:09.798+0200 [INFO]  backend/local: apply calling Apply
2022-09-18T18:26:09.798+0200 [DEBUG] Building and walking apply graph for NormalMode plan
2022-09-18T18:26:09.798+0200 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/aws"], implied first by data.aws_nat_gateway.ngw_test (expand)
2022-09-18T18:26:09.798+0200 [DEBUG] ProviderTransformer: "data.aws_nat_gateway.ngw_test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-09-18T18:26:09.798+0200 [DEBUG] ReferenceTransformer: "data.aws_nat_gateway.ngw_test (expand)" references: []
2022-09-18T18:26:09.798+0200 [DEBUG] ReferenceTransformer: "output.nategateway_id" references: [data.aws_nat_gateway.ngw_test (expand)]
2022-09-18T18:26:09.798+0200 [DEBUG] ReferenceTransformer: "output.nategateway_ip" references: [data.aws_nat_gateway.ngw_test (expand)]
2022-09-18T18:26:09.798+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-09-18T18:26:09.798+0200 [DEBUG] pruneUnusedNodes: data.aws_nat_gateway.ngw_test (expand) is no longer needed, removing
2022-09-18T18:26:09.798+0200 [DEBUG] pruneUnusedNodes: provider["registry.terraform.io/hashicorp/aws"] is no longer needed, removing
2022-09-18T18:26:09.798+0200 [DEBUG] Starting graph walk: walkApply

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

No response

github-actions[bot] commented 2 years ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

wzzzrd86 commented 1 year ago

Hi, @jparnaudeau have you tested this with a newer provider and core version, when I tested with my own resources I can confirm I see the Private IP address of my Nat Gateway in my output.

jparnaudeau commented 1 year ago

Hi @wzzzrd86 ,

backend_nategateways_ips = [
  tostring(null),
  tostring(null),
  tostring(null),
]
backend_nategateways_ips = [
  tostring(null),
  tostring(null),
  tostring(null),
]

Very strange.

wzzzrd86 commented 1 year ago

I'll keep trying to reproduce, but here is my debug output, I'm trying to see if there is a difference between my Nat and your.

<natGatewayAddressSet>
                <item>
                    <allocationId>eipalloc-0b56d6a5ecc036ba6</allocationId>
                    <associationId>eipassoc-0be264a31028997ee</associationId>
                    <isPrimary>true</isPrimary>
                    <networkInterfaceId>eni-05ddea11ed60b90fb</networkInterfaceId>
                    <privateIp>10.0.101.218</privateIp>
                    <publicIp>X.X.X.X</publicIp>
                    <status>succeeded</status>
                </item>
            </natGatewayAddressSet>
rahulskumbhar1997 commented 1 year ago

The issue if fixed. I am using Terraform v1.4.5 and I am able to retrieve the Private IP address of the NAT Gateway.