Last active
July 16, 2022 13:43
-
-
Save YuriGal/fc74a9d87d3ab3148af58b569531a15d to your computer and use it in GitHub Desktop.
This file contains 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
Error: Unexpected External Program Results | |
-- | |
971 | | |
972 | with data.external.tools_accounts, | |
973 | on cdk_bootstrap.tf line 2, in data "external" "tools_accounts": | |
974 | 2: program = ["aws", "organizations", "list-accounts-for-parent", "--parent-id", local.deployment_ou, "--query", "Accounts[?Name==`${local.tools_account}`] \| [0]"] | |
975 | | |
976 | The data source received unexpected results after executing the program. | |
977 | | |
978 | Program output must be a JSON encoded map of string keys and string values. | |
979 | | |
980 | If the error is unclear, the output can be viewed by enabling Terraform's | |
981 | logging at TRACE level. Terraform documentation on logging: | |
982 | https://www.terraform.io/internals/debugging | |
983 | | |
984 | Program: /root/.pyenv/shims/aws | |
985 | Result Error: json: cannot unmarshal number into Go value of type string | |
986 | 2022-07-15T15:48:27.147Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
-- | |
987 | 2022-07-15T15:48:27.147Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
988 | 2022-07-15T15:48:27.147Z [DEBUG] provider: plugin process exited: path=.terraform/dil-infrastructure/providers/registry.terraform.io/hashicorp/external/2.2.2/linux_amd64/terraform-provider-external_v2.2.2_x5 pid=768 | |
989 | 2022-07-15T15:48:27.147Z [DEBUG] provider: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment