Skip to content

Instantly share code, notes, and snippets.

@chrishowell
Created October 13, 2019 10:20
Show Gist options
  • Save chrishowell/ddd169c24ba4f0fcaba70a3e2f624a5a to your computer and use it in GitHub Desktop.
Save chrishowell/ddd169c24ba4f0fcaba70a3e2f624a5a to your computer and use it in GitHub Desktop.
TF Debug Output
2019/10/13 11:18:47 [INFO] Terraform version: 0.12.10
2019/10/13 11:18:47 [INFO] Go runtime version: go1.13.1
2019/10/13 11:18:47 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/10/13 11:18:47 [DEBUG] Attempting to open CLI config file: /Users/chrishowell/.terraformrc
2019/10/13 11:18:47 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/13 11:18:47 [INFO] CLI command args: []string{"plan"}
2019/10/13 11:18:47 [DEBUG] New state was assigned lineage "82e0a1e7-46ff-02b2-ab73-2f5a0db58cbc"
2019/10/13 11:18:47 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/10/13 11:18:47 [TRACE] Meta.Backend: instantiated backend of type <nil>
2019/10/13 11:18:47 [DEBUG] checking for provider in "."
2019/10/13 11:18:47 [DEBUG] checking for provider in "/usr/local/bin"
2019/10/13 11:18:47 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/10/13 11:18:47 [DEBUG] found provider "terraform-provider-aws_v2.32.0_x4"
2019/10/13 11:18:47 [DEBUG] found valid plugin: "aws", "2.32.0", "/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4"
2019/10/13 11:18:47 [DEBUG] checking for provisioner in "."
2019/10/13 11:18:47 [DEBUG] checking for provisioner in "/usr/local/bin"
2019/10/13 11:18:47 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/10/13 11:18:47 [INFO] backend/local: starting Plan operation
2019-10-13T11:18:48.239+0100 [INFO] plugin: configuring client automatic mTLS
2019-10-13T11:18:48.264+0100 [DEBUG] plugin: starting plugin: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 args=[/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4]
2019-10-13T11:18:48.275+0100 [DEBUG] plugin: plugin started: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3571
2019-10-13T11:18:48.275+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4
2019-10-13T11:18:48.295+0100 [INFO] plugin.terraform-provider-aws_v2.32.0_x4: configuring server automatic mTLS: timestamp=2019-10-13T11:18:48.294+0100
2019-10-13T11:18:48.321+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: plugin address: address=/var/folders/jg/8yftt5zx0qsf11mfht44kq440000gn/T/plugin255529998 network=unix timestamp=2019-10-13T11:18:48.321+0100
2019-10-13T11:18:48.321+0100 [DEBUG] plugin: using plugin: version=5
2019-10-13T11:18:48.424+0100 [DEBUG] plugin: plugin process exited: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3571
2019-10-13T11:18:48.424+0100 [DEBUG] plugin: plugin exited
2019/10/13 11:18:48 [INFO] terraform: building graph: GraphTypeValidate
2019/10/13 11:18:48 [DEBUG] ProviderTransformer: "aws_iam_policy.assume_role" (*terraform.NodeValidatableResource) needs provider.aws
2019/10/13 11:18:48 [TRACE] ProviderTransformer: exact match for provider.aws serving aws_iam_group.admins
2019/10/13 11:18:48 [DEBUG] ProviderTransformer: "aws_iam_group.admins" (*terraform.NodeValidatableResource) needs provider.aws
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "aws_iam_policy.assume_role" references: []
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "aws_iam_group.admins" references: []
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: []
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "aws_iam_role.admin_mfa_role" references: [data.aws_caller_identity.current]
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "aws_iam_group_policy_attachment.admins_assume_role" references: [aws_iam_policy.assume_role aws_iam_group.admins]
2019/10/13 11:18:48 [DEBUG] Starting graph walk: walkValidate
2019-10-13T11:18:48.426+0100 [INFO] plugin: configuring client automatic mTLS
2019-10-13T11:18:48.450+0100 [DEBUG] plugin: starting plugin: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 args=[/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4]
2019-10-13T11:18:48.460+0100 [DEBUG] plugin: plugin started: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3572
2019-10-13T11:18:48.460+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4
2019-10-13T11:18:48.482+0100 [INFO] plugin.terraform-provider-aws_v2.32.0_x4: configuring server automatic mTLS: timestamp=2019-10-13T11:18:48.481+0100
2019-10-13T11:18:48.508+0100 [DEBUG] plugin: using plugin: version=5
2019-10-13T11:18:48.508+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: plugin address: address=/var/folders/jg/8yftt5zx0qsf11mfht44kq440000gn/T/plugin053211411 network=unix timestamp=2019-10-13T11:18:48.508+0100
2019-10-13T11:18:48.643+0100 [DEBUG] plugin: plugin process exited: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3572
2019-10-13T11:18:48.643+0100 [DEBUG] plugin: plugin exited
2019/10/13 11:18:48 [INFO] backend/local: plan calling Refresh
2019/10/13 11:18:48 [INFO] terraform: building graph: GraphTypeRefresh
2019/10/13 11:18:48 [TRACE] No managed resources in state during refresh; skipping managed resource transformer
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: []
2019/10/13 11:18:48 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2019/10/13 11:18:48 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/10/13 11:18:48 [TRACE] Executing graph transform *terraform.TargetsTransformer
2019-10-13T11:18:48.644+0100 [INFO] plugin: configuring client automatic mTLS
2019-10-13T11:18:48.667+0100 [DEBUG] plugin: starting plugin: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 args=[/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4]
2019-10-13T11:18:48.676+0100 [DEBUG] plugin: plugin started: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3573
2019-10-13T11:18:48.676+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4
2019-10-13T11:18:48.694+0100 [INFO] plugin.terraform-provider-aws_v2.32.0_x4: configuring server automatic mTLS: timestamp=2019-10-13T11:18:48.694+0100
2019-10-13T11:18:48.721+0100 [DEBUG] plugin: using plugin: version=5
2019-10-13T11:18:48.721+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: plugin address: address=/var/folders/jg/8yftt5zx0qsf11mfht44kq440000gn/T/plugin077679416 network=unix timestamp=2019-10-13T11:18:48.720+0100
2019-10-13T11:18:48.816+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: 2019/10/13 11:18:48 [INFO] No assume_role block read from configuration
2019-10-13T11:18:48.817+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: 2019/10/13 11:18:48 [INFO] Building AWS auth structure
2019-10-13T11:18:48.817+0100 [DEBUG] plugin.terraform-provider-aws_v2.32.0_x4: 2019/10/13 11:18:48 [INFO] Setting AWS metadata API timeout to 100ms
2019/10/13 11:18:48 [ERROR] <root>: eval: *terraform.EvalConfigProvider, err: error creating EC2 Metadata session: AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.
2019/10/13 11:18:48 [ERROR] <root>: eval: *terraform.EvalSequence, err: error creating EC2 Metadata session: AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.
2019/10/13 11:18:48 [ERROR] <root>: eval: *terraform.EvalOpFilter, err: error creating EC2 Metadata session: AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.
2019/10/13 11:18:48 [ERROR] <root>: eval: *terraform.EvalSequence, err: error creating EC2 Metadata session: AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.

Error: error creating EC2 Metadata session: AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.
 on account.tf line 1, in provider "aws":
1: provider "aws" {


2019-10-13T11:18:48.822+0100 [DEBUG] plugin: plugin process exited: path=/Users/chrishowell/dev/aws-bitsandreleases/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.32.0_x4 pid=3573
2019-10-13T11:18:48.822+0100 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment