Last active
May 18, 2022 10:53
-
-
Save patdowney/a6f9355b7e50253116ca67f2fe4d8977 to your computer and use it in GitHub Desktop.
data.aws_iam_policy_document.override_policy_documents crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client04@Patricks-MacBook-Pro terraform-iam-test % terraform plan | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with data.aws_iam_policy_document.test, | |
│ on test.tf line 1, in data "aws_iam_policy_document" "test": | |
│ 1: data "aws_iam_policy_document" "test" { | |
│ | |
│ The plugin.(*GRPCProvider).ReadDataSource request was cancelled. | |
╵ | |
data "aws_iam_policy_document" "test" { | |
Stack trace from the terraform-provider-aws_v4.14.0_x5 plugin: | |
panic: interface conversion: interface {} is nil, not string | |
goroutine 83 [running]: | |
github.com/hashicorp/terraform-provider-aws/internal/service/iam.dataSourcePolicyDocumentRead(0x68, {0x80, 0x136005b8}) | |
data "aws_iam_policy_document" "test" { | |
github.com/hashicorp/terraform-provider-aws/internal/service/iam/policy_document_data_source.go:253 +0x605 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xb0b6f00, {0xb0b6f00, 0xc002b1c330}, 0xd, {0x8b67260, 0xc000ca6000}) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:712 +0x178 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc0006d0700, {0xb0b6f00, 0xc002b1c330}, 0xc002f5c980, {0x8b67260, 0xc000ca6000}) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:943 +0x145 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00012b128, {0xb0b6e58, 0xc001192cc0}, 0xc002f20520) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1179 +0x408 | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc00190edc0, {0xb0b6f00, 0xc002c8db90}, 0xc002f220a0) | |
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:657 +0x45f | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x9d61ee0, 0xc00190edc0}, {0xb0b6f00, 0xc002c8db90}, 0xc002ca7020, 0x0) | |
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:421 +0x170 | |
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001fe540, {0xb1c2510, 0xc0000b2340}, 0xc002f66000, 0xc00191ac90, 0x10dafe90, 0x0) | |
google.golang.org/[email protected]/server.go:1282 +0xccf | |
google.golang.org/grpc.(*Server).handleStream(0xc0001fe540, {0xb1c2510, 0xc0000b2340}, 0xc002f66000, 0x0) | |
google.golang.org/[email protected]/server.go:1619 +0xa2a | |
google.golang.org/grpc.(*Server).serveStreams.func1.2() | |
google.golang.org/[email protected]/server.go:921 +0x98 | |
created by google.golang.org/grpc.(*Server).serveStreams.func1 | |
google.golang.org/[email protected]/server.go:919 +0x294 | |
Error: The terraform-provider-aws_v4.14.0_x5 plugin crashed! | |
This is always indicative of a bug within the plugin. It would be immensely | |
helpful if you could report the crash with the plugin's maintainers so that it | |
can be fixed. The output above should help diagnose the issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-05-18T11:43:56.689+0100 [INFO] Terraform version: 1.1.8 | |
2022-05-18T11:43:56.690+0100 [INFO] Go runtime version: go1.17.2 | |
2022-05-18T11:43:56.690+0100 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.2/versions/1.1.8/terraform", "plan"} | |
2022-05-18T11:43:56.690+0100 [DEBUG] Attempting to open CLI config file: /Users/user/.terraformrc | |
2022-05-18T11:43:56.690+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2022-05-18T11:43:56.690+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2022-05-18T11:43:56.690+0100 [DEBUG] ignoring non-existing provider search directory /Users/user/.terraform.d/plugins | |
2022-05-18T11:43:56.690+0100 [DEBUG] ignoring non-existing provider search directory /Users/user/Library/Application Support/io.terraform/plugins | |
2022-05-18T11:43:56.690+0100 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2022-05-18T11:43:56.690+0100 [INFO] CLI command args: []string{"plan"} | |
2022-05-18T11:43:56.691+0100 [DEBUG] New state was assigned lineage "91c0f54c-806d-dae9-11c2-313d9a57e938" | |
2022-05-18T11:43:57.698+0100 [DEBUG] checking for provisioner in "." | |
2022-05-18T11:43:57.698+0100 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.2.2/versions/1.1.8" | |
2022-05-18T11:43:57.698+0100 [INFO] backend/local: starting Plan operation | |
2022-05-18T11:43:57.701+0100 [DEBUG] created provider logger: level=debug | |
2022-05-18T11:43:57.701+0100 [INFO] provider: configuring client automatic mTLS | |
2022-05-18T11:43:57.711+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5] | |
2022-05-18T11:43:57.728+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69212 | |
2022-05-18T11:43:57.728+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 | |
2022-05-18T11:43:57.753+0100 [INFO] provider.terraform-provider-aws_v4.14.0_x5: configuring server automatic mTLS: timestamp=2022-05-18T11:43:57.753+0100 | |
2022-05-18T11:43:57.803+0100 [DEBUG] provider: using plugin: version=5 | |
2022-05-18T11:43:57.804+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: plugin address: network=unix address=/var/folders/qk/xmmbnzw53rs2xbjdnvmycbxm0000gp/T/plugin2308928404 timestamp=2022-05-18T11:43:57.803+0100 | |
2022-05-18T11:43:58.020+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-05-18T11:43:58.024+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69212 | |
2022-05-18T11:43:58.031+0100 [DEBUG] provider: plugin exited | |
2022-05-18T11:43:58.031+0100 [DEBUG] Building and walking validate graph | |
2022-05-18T11:43:58.031+0100 [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.test" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-05-18T11:43:58.031+0100 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.test" references: [] | |
2022-05-18T11:43:58.033+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: [] | |
2022-05-18T11:43:58.034+0100 [DEBUG] Starting graph walk: walkValidate | |
2022-05-18T11:43:58.034+0100 [DEBUG] created provider logger: level=debug | |
2022-05-18T11:43:58.034+0100 [INFO] provider: configuring client automatic mTLS | |
2022-05-18T11:43:58.046+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5] | |
2022-05-18T11:43:58.062+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69213 | |
2022-05-18T11:43:58.062+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 | |
2022-05-18T11:43:58.081+0100 [INFO] provider.terraform-provider-aws_v4.14.0_x5: configuring server automatic mTLS: timestamp=2022-05-18T11:43:58.080+0100 | |
2022-05-18T11:43:58.126+0100 [DEBUG] provider: using plugin: version=5 | |
2022-05-18T11:43:58.126+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: plugin address: address=/var/folders/qk/xmmbnzw53rs2xbjdnvmycbxm0000gp/T/plugin854325904 network=unix timestamp=2022-05-18T11:43:58.126+0100 | |
2022-05-18T11:43:58.435+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-05-18T11:43:58.441+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69213 | |
2022-05-18T11:43:58.446+0100 [DEBUG] provider: plugin exited | |
2022-05-18T11:43:58.446+0100 [INFO] backend/local: plan calling Plan | |
2022-05-18T11:43:58.446+0100 [DEBUG] Building and walking plan graph for NormalMode | |
2022-05-18T11:43:58.447+0100 [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-05-18T11:43:58.447+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: [] | |
2022-05-18T11:43:58.447+0100 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.test (expand)" references: [] | |
2022-05-18T11:43:58.447+0100 [DEBUG] Starting graph walk: walkPlan | |
2022-05-18T11:43:58.447+0100 [DEBUG] created provider logger: level=debug | |
2022-05-18T11:43:58.447+0100 [INFO] provider: configuring client automatic mTLS | |
2022-05-18T11:43:58.457+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5] | |
2022-05-18T11:43:58.477+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69214 | |
2022-05-18T11:43:58.479+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 | |
2022-05-18T11:43:58.506+0100 [INFO] provider.terraform-provider-aws_v4.14.0_x5: configuring server automatic mTLS: timestamp=2022-05-18T11:43:58.505+0100 | |
2022-05-18T11:43:58.556+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: plugin address: address=/var/folders/qk/xmmbnzw53rs2xbjdnvmycbxm0000gp/T/plugin1838062266 network=unix timestamp=2022-05-18T11:43:58.556+0100 | |
2022-05-18T11:43:58.556+0100 [DEBUG] provider: using plugin: version=5 | |
2022-05-18T11:43:58.863+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused | |
2022-05-18T11:43:58.865+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: [aws-sdk-go-v2] Request | |
GET /federation/credentials?account_id=redacteed&role_name=redactedHTTP/1.1 | |
Host: portal.sso.eu-west-2.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.8 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.16.3 os/macos lang/go/1.17.6 md/GOOS/darwin md/GOARCH/amd64 api/sso/1.11.4 | |
Amz-Sdk-Invocation-Id: 69cf5006-5da6-4300-afeb-6d5ba75371e4 | |
Amz-Sdk-Request: attempt=1; max=1 | |
X-Amz-Sso_bearer_token: redacted | |
Accept-Encoding: gzip: timestamp=2022-05-18T11:43:58.865+0100 | |
2022-05-18T11:43:59.598+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: [aws-sdk-go-v2] Response | |
HTTP/2.0 200 OK | |
Content-Length: 1112 | |
Access-Control-Expose-Headers: RequestId | |
Access-Control-Expose-Headers: x-amzn-RequestId | |
Cache-Control: no-cache | |
Content-Type: application/json | |
Date: Wed, 18 May 2022 10:43:59 GMT | |
Requestid: 7869699c-cad3-4c1c-9cff-a885ee5931f3 | |
Server: AWS SSO | |
X-Amzn-Requestid: 7869699c-cad3-4c1c-9cff-a885ee5931f3 | |
{"roleCredentials": "REDACTED" }: timestamp=2022-05-18T11:43:59.598+0100 | |
2022-05-18T11:43:59.599+0100 [INFO] provider.terraform-provider-aws_v4.14.0_x5: Retrieved credentials from "SSOProvider": timestamp=2022-05-18T11:43:59.598+0100 | |
2022-05-18T11:43:59.599+0100 [WARN] provider.terraform-provider-aws_v4.14.0_x5: AWS account ID not found for provider. See https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id for implications.: timestamp=2022-05-18T11:43:59.599+0100 | |
2022-05-18T11:43:59.603+0100 [DEBUG] Resource instance state not found for node "data.aws_iam_policy_document.test", instance data.aws_iam_policy_document.test | |
2022-05-18T11:43:59.603+0100 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.test" references: [] | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: panic: interface conversion: interface {} is nil, not string | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: goroutine 68 [running]: | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-provider-aws/internal/service/iam.dataSourcePolicyDocumentRead(0x68, {0x80, 0x13600f18}) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-provider-aws/internal/service/iam/policy_document_data_source.go:253 +0x605 | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xb0b6f00, {0xb0b6f00, 0xc0022dee70}, 0xd, {0x8b67260, 0xc00016ca80}) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:712 +0x178 | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc0006ea540, {0xb0b6f00, 0xc0022dee70}, 0xc0001cf500, {0x8b67260, 0xc00016ca80}) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:943 +0x145 | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00000d140, {0xb0b6e58, 0xc00118ffc0}, 0xc0031bff40) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1179 +0x408 | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc00142b5e0, {0xb0b6f00, 0xc0022de6f0}, 0xc0031b1b30) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:657 +0x45f | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x9d61ee0, 0xc00142b5e0}, {0xb0b6f00, 0xc0022de6f0}, 0xc0022da8a0, 0x0) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:421 +0x170 | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000228c40, {0xb1c2510, 0xc000299040}, 0xc0022cd560, 0xc001459d10, 0x10dafe90, 0x0) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/[email protected]/server.go:1282 +0xccf | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/grpc.(*Server).handleStream(0xc000228c40, {0xb1c2510, 0xc000299040}, 0xc0022cd560, 0x0) | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/[email protected]/server.go:1619 +0xa2a | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/grpc.(*Server).serveStreams.func1.2() | |
2022-05-18T11:43:59.607+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/[email protected]/server.go:921 +0x98 | |
2022-05-18T11:43:59.608+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: created by google.golang.org/grpc.(*Server).serveStreams.func1 | |
2022-05-18T11:43:59.608+0100 [DEBUG] provider.terraform-provider-aws_v4.14.0_x5: google.golang.org/[email protected]/server.go:919 +0x294 | |
2022-05-18T11:43:59.613+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.14.0/darwin_amd64/terraform-provider-aws_v4.14.0_x5 pid=69214 error="exit status 2" | |
2022-05-18T11:43:59.613+0100 [ERROR] plugin.(*GRPCProvider).ReadDataSource: error="rpc error: code = Unavailable desc = transport is closing" | |
2022-05-18T11:43:59.613+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-05-18T11:43:59.614+0100 [ERROR] vertex "data.aws_iam_policy_document.test" error: Plugin did not respond | |
2022-05-18T11:43:59.614+0100 [ERROR] vertex "data.aws_iam_policy_document.test" error: Plugin did not respond | |
2022-05-18T11:43:59.614+0100 [ERROR] vertex "data.aws_iam_policy_document.test (expand)" error: Plugin did not respond | |
2022-05-18T11:43:59.614+0100 [INFO] backend/local: plan operation completed | |
[31m╷[0m[0m | |
[31m│[0m [0m[1m[31mError: [0m[0m[1mPlugin did not respond[0m | |
[31m│[0m [0m | |
[31m│[0m [0m[0m with data.aws_iam_policy_document.test, | |
[31m│[0m [0m on test.tf line 1, in data "aws_iam_policy_document" "test": | |
[31m│[0m [0m 1: data "aws_iam_policy_document" "test" [4m{[0m[0m | |
[31m│[0m [0m | |
[31m│[0m [0mThe plugin encountered an error, and failed to respond to the | |
[31m│[0m [0mplugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain | |
[31m│[0m [0mmore details. | |
[31m╵[0m[0m | |
Stack trace from the terraform-provider-aws_v4.14.0_x5 plugin: | |
panic: interface conversion: interface {} is nil, not string | |
goroutine 68 [running]: | |
github.com/hashicorp/terraform-provider-aws/internal/service/iam.dataSourcePolicyDocumentRead(0x68, {0x80, 0x13600f18}) | |
github.com/hashicorp/terraform-provider-aws/internal/service/iam/policy_document_data_source.go:253 +0x605 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xb0b6f00, {0xb0b6f00, 0xc0022dee70}, 0xd, {0x8b67260, 0xc00016ca80}) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:712 +0x178 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc0006ea540, {0xb0b6f00, 0xc0022dee70}, 0xc0001cf500, {0x8b67260, 0xc00016ca80}) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:943 +0x145 | |
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00000d140, {0xb0b6e58, 0xc00118ffc0}, 0xc0031bff40) | |
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1179 +0x408 | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc00142b5e0, {0xb0b6f00, 0xc0022de6f0}, 0xc0031b1b30) | |
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:657 +0x45f | |
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x9d61ee0, 0xc00142b5e0}, {0xb0b6f00, 0xc0022de6f0}, 0xc0022da8a0, 0x0) | |
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:421 +0x170 | |
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000228c40, {0xb1c2510, 0xc000299040}, 0xc0022cd560, 0xc001459d10, 0x10dafe90, 0x0) | |
google.golang.org/[email protected]/server.go:1282 +0xccf | |
google.golang.org/grpc.(*Server).handleStream(0xc000228c40, {0xb1c2510, 0xc000299040}, 0xc0022cd560, 0x0) | |
google.golang.org/[email protected]/server.go:1619 +0xa2a | |
google.golang.org/grpc.(*Server).serveStreams.func1.2() | |
google.golang.org/[email protected]/server.go:921 +0x98 | |
created by google.golang.org/grpc.(*Server).serveStreams.func1 | |
google.golang.org/[email protected]/server.go:919 +0x294 | |
Error: The terraform-provider-aws_v4.14.0_x5 plugin crashed! | |
This is always indicative of a bug within the plugin. It would be immensely | |
helpful if you could report the crash with the plugin's maintainers so that it | |
can be fixed. The output above should help diagnose the issue. | |
2022-05-18T11:43:59.618+0100 [DEBUG] provider: plugin exited | |
t | |
Content-Length: 43 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
skip_metadata_api_check = true | |
skip_get_ec2_platforms = true | |
skip_credentials_validation = true | |
skip_region_validation = true | |
skip_requesting_account_id = true | |
} | |
data "aws_iam_policy_document" "test" { | |
override_policy_documents = [""] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment