Created
November 14, 2018 20:58
-
-
Save cullenmcdermott/9e2e7641fc3cc88117645e4e848901ff to your computer and use it in GitHub Desktop.
Terraform plan error
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
cat main.tf | |
provider "aws" { | |
region = "us-west-2" | |
} | |
data "aws_caller_identity" "current" {} | |
{nonprod:472} {13:57}[2.3.5]/tmp/terraform-test ➭ | |
TF_LOG=debug terraform plan | |
2018/11/14 13:57:20 [INFO] Terraform version: 0.10.8 44110772d9ffd0ec3589943c6d4c93c24a5fff06 | |
2018/11/14 13:57:20 [INFO] Go runtime version: go1.9 | |
2018/11/14 13:57:20 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/0.6.0/versions/0.10.8/terraform", "plan"} | |
2018/11/14 13:57:20 [DEBUG] Attempting to open CLI config file: /Users/cmcdermott/.terraformrc | |
2018/11/14 13:57:20 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/11/14 13:57:20 [DEBUG] CLI config is &main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:"", Credentials:map[string]map[string]interface {}(nil), CredentialsHelpers:map[string]*main.ConfigCredentialsHelper(nil)} | |
2018/11/14 13:57:20 [INFO] CLI command args: []string{"plan"} | |
2018/11/14 13:57:20 [INFO] command: empty terraform config, returning nil | |
2018/11/14 13:57:20 [DEBUG] command: no data state file found for backend config | |
2018/11/14 13:57:20 [DEBUG] New state was assigned lineage "daaf67d3-1510-473a-b63c-c715697d0b7f" | |
2018/11/14 13:57:20 [INFO] command: backend initialized: <nil> | |
2018/11/14 13:57:20 [DEBUG] checking for provider in "." | |
2018/11/14 13:57:20 [DEBUG] checking for provider in "/usr/local/Cellar/tfenv/0.6.0/versions/0.10.8" | |
2018/11/14 13:57:20 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2018/11/14 13:57:20 [DEBUG] found provider "terraform-provider-aws_v1.44.0_x4" | |
2018/11/14 13:57:20 [DEBUG] found valid plugin: "aws" | |
2018/11/14 13:57:20 [DEBUG] checking for provisioner in "." | |
2018/11/14 13:57:20 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/0.6.0/versions/0.10.8" | |
2018/11/14 13:57:20 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64" | |
2018/11/14 13:57:20 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
2018/11/14 13:57:20 [INFO] backend/local: starting Plan operation | |
2018/11/14 13:57:20 [DEBUG] New state was assigned lineage "f76c0efd-10db-4b29-8370-56eb8f3fd26f" | |
2018/11/14 13:57:20 [INFO] terraform: building graph: GraphTypeInput | |
2018/11/14 13:57:20 [DEBUG] Resource state not found for "data.aws_caller_identity.current": data.aws_caller_identity.current | |
2018/11/14 13:57:20 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
data.aws_caller_identity.current - *terraform.NodeAbstractResource | |
2018/11/14 13:57:20 [TRACE] Graph after step *terraform.RootVariableTransformer: | |
data.aws_caller_identity.current - *terraform.NodeAbstractResource | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: [] | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "provider.aws" references: [] | |
2018/11/14 13:57:20 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.aws_caller_identity.current - *terraform.NodeAbstractResource | |
provider.aws - *terraform.NodeApplyableProvider | |
provider.aws - *terraform.NodeApplyableProvider | |
2018/11/14 13:57:20 [DEBUG] Starting graph walk: walkInput | |
2018-11-14T13:57:20.573-0700 [DEBUG] plugin: starting plugin: path=/tmp/terraform-test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.44.0_x4 args=[/tmp/terraform-test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.44.0_x4] | |
2018-11-14T13:57:20.583-0700 [DEBUG] plugin: waiting for RPC address: path=/tmp/terraform-test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.44.0_x4 | |
2018-11-14T13:57:20.596-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: plugin address: timestamp=2018-11-14T13:57:20.596-0700 address=/var/folders/g6/v9t31yv93y16dqwj1qly8j8r0000gn/T/plugin327912556 network=unix | |
2018/11/14 13:57:20 [INFO] terraform: building graph: GraphTypeValidate | |
2018/11/14 13:57:20 [DEBUG] Resource state not found for "data.aws_caller_identity.current": data.aws_caller_identity.current | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: [] | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "provider.aws" references: [] | |
2018/11/14 13:57:20 [DEBUG] Starting graph walk: walkValidate | |
2018/11/14 13:57:20 [DEBUG] Resource state not found for "data.aws_caller_identity.current": data.aws_caller_identity.current | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: [] | |
2018/11/14 13:57:20 [INFO] backend/local: plan calling Refresh | |
2018/11/14 13:57:20 [INFO] terraform: building graph: GraphTypeRefresh | |
Refreshing Terraform state in-memory prior to plan... | |
2018/11/14 13:57:20 [DEBUG] Resource state not found for "data.aws_caller_identity.current": data.aws_caller_identity.current | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: [] | |
2018/11/14 13:57:20 [DEBUG] ReferenceTransformer: "provider.aws" references: [] | |
2018/11/14 13:57:20 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.aws_caller_identity.current - *terraform.NodeRefreshableDataResource | |
provider.aws - *terraform.NodeApplyableProvider | |
provider.aws - *terraform.NodeApplyableProvider | |
2018/11/14 13:57:20 [TRACE] Graph after step *terraform.TargetsTransformer: | |
data.aws_caller_identity.current - *terraform.NodeRefreshableDataResource | |
provider.aws - *terraform.NodeApplyableProvider | |
provider.aws - *terraform.NodeApplyableProvider | |
2018-11-14T13:57:20.658-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:20 [INFO] No assume_role block read from configuration | |
2018-11-14T13:57:20.658-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:20 [INFO] Building AWS region structure | |
2018-11-14T13:57:20.658-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:20 [INFO] Building AWS auth structure | |
2018-11-14T13:57:20.658-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:20 [INFO] Setting AWS metadata API timeout to 100ms | |
2018-11-14T13:57:21.370-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:21 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id | |
2018/11/14 13:57:26 [ERROR] root: eval: *terraform.EvalConfigProvider, err: No valid credential sources found for AWS Provider. | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
2018/11/14 13:57:26 [ERROR] root: eval: *terraform.EvalSequence, err: No valid credential sources found for AWS Provider. | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
2018/11/14 13:57:26 [ERROR] root: eval: *terraform.EvalOpFilter, err: No valid credential sources found for AWS Provider. | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
2018/11/14 13:57:26 [ERROR] root: eval: *terraform.EvalSequence, err: No valid credential sources found for AWS Provider. | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
2018/11/14 13:57:26 [TRACE] [walkRefresh] Exiting eval tree: provider.aws | |
2018/11/14 13:57:26 [DEBUG] plugin: waiting for all plugin processes to complete... | |
Error: Error refreshing state: 1 error(s) occurred: | |
* provider.aws: No valid credential sources found for AWS Provider. | |
2018-11-14T13:57:26.716-0700 [DEBUG] plugin.terraform-provider-aws_v1.44.0_x4: 2018/11/14 13:57:26 [ERR] plugin: plugin server: accept unix /var/folders/g6/v9t31yv93y16dqwj1qly8j8r0000gn/T/plugin327912556: use of closed network connection | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
2018-11-14T13:57:26.718-0700 [DEBUG] plugin: plugin process exited: path=/tmp/terraform-test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.44.0_x4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment