Skip to content

Instantly share code, notes, and snippets.

@frncmx
Last active July 22, 2017 17:14
Show Gist options
  • Save frncmx/4016347c801357e5f255526ebac8f325 to your computer and use it in GitHub Desktop.
Save frncmx/4016347c801357e5f255526ebac8f325 to your computer and use it in GitHub Desktop.
2017/07/22 19:04:10 [INFO] Terraform version: 0.10.0 dev
2017/07/22 19:04:10 [INFO] Go runtime version: go1.8.3
2017/07/22 19:04:10 [INFO] CLI args: []string{"/home/frncmx/code/bin/terraform", "apply"}
2017/07/22 19:04:10 [DEBUG] Attempting to open CLI config file: /home/frncmx/.terraformrc
2017/07/22 19:04:10 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/07/22 19:04:10 [INFO] CLI command args: []string{"apply"}
2017/07/22 19:04:10 [INFO] command: empty terraform config, returning nil
2017/07/22 19:04:10 [DEBUG] command: no data state file found for backend config
2017/07/22 19:04:10 [DEBUG] New state was assigned lineage "9bf0be63-92de-49ee-833c-612cb4d9d6bd"
2017/07/22 19:04:10 [INFO] command: backend initialized: <nil>
2017/07/22 19:04:10 [DEBUG] checking for provider in "."
2017/07/22 19:04:10 [DEBUG] skipping ".git", not a provider
2017/07/22 19:04:10 [DEBUG] skipping ".terraform", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "ecr-attach-policy.log", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "main.tf", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "terraform.tfstate", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "terraform.tfstate.backup", not a provider
2017/07/22 19:04:10 [DEBUG] checking for provider in "/home/frncmx/code/bin"
2017/07/22 19:04:10 [DEBUG] skipping "asmfmt", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "cobra", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "consul-template", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "dlv", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "errcheck", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "go-outline", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "go-symbols", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gocode", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "godef", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gogetdoc", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "golint", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gometalinter", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gomodifytags", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gopkgs", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "goreturns", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gosu", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gotags", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gotests", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "govendor", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "gox", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "guru", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "hclfmt", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "hugo", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "impl", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "motion", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "nut", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "protoc-gen-go", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "pumba", not a provider
2017/07/22 19:04:10 [DEBUG] skipping "terraform", not a provider
2017/07/22 19:04:10 [WARNING] found legacy provider "terraform-provider-aws"
2017/07/22 19:04:10 [DEBUG] skipping "tf-acc-external-data-source", not a provider
2017/07/22 19:04:10 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2017/07/22 19:04:10 [DEBUG] skipping "lock.json", not a provider
2017/07/22 19:04:10 [DEBUG] checking for provider in "/home/frncmx/.terraform.d/plugins"
2017/07/22 19:04:10 [DEBUG] found valid plugin: "aws"
2017/07/22 19:04:10 [DEBUG] checking for provisioner in "."
2017/07/22 19:04:10 [DEBUG] skipping ".git", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping ".terraform", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "ecr-attach-policy.log", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "main.tf", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "terraform.tfstate", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "terraform.tfstate.backup", not a provisioner
2017/07/22 19:04:10 [DEBUG] checking for provisioner in "/home/frncmx/code/bin"
2017/07/22 19:04:10 [DEBUG] skipping "asmfmt", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "cobra", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "consul-template", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "dlv", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "errcheck", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "go-outline", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "go-symbols", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gocode", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "godef", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gogetdoc", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "golint", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gometalinter", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gomodifytags", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gopkgs", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "goreturns", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gosu", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gotags", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gotests", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "govendor", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "gox", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "guru", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "hclfmt", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "hugo", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "impl", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "motion", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "nut", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "protoc-gen-go", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "pumba", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "terraform", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "terraform-provider-aws", not a provisioner
2017/07/22 19:04:10 [DEBUG] skipping "tf-acc-external-data-source", not a provisioner
2017/07/22 19:04:10 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2017/07/22 19:04:10 [DEBUG] skipping "lock.json", not a provisioner
2017/07/22 19:04:10 [DEBUG] checking for provisioner in "/home/frncmx/.terraform.d/plugins"
2017/07/22 19:04:10 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/07/22 19:04:10 [INFO] backend/local: starting Apply operation
2017/07/22 19:04:11 [INFO] terraform: building graph: GraphTypeInput
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test aws_iam_role.test]
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/22 19:04:11 [DEBUG] Starting graph walk: walkInput
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "root"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "provider.aws"
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/22 19:04:11 [DEBUG] plugin: starting plugin: /home/frncmx/code/bin/terraform-provider-aws []string{"/home/frncmx/code/bin/terraform-provider-aws"}
2017/07/22 19:04:11 [DEBUG] plugin: waiting for RPC address for: /home/frncmx/code/bin/terraform-provider-aws
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [DEBUG] plugin: plugin address: unix /tmp/plugin665722114
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInputProvider
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [TRACE] [walkInput] Exiting eval tree: provider.aws
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "root"
2017/07/22 19:04:11 [DEBUG] vertex 'root.root': walking
2017/07/22 19:04:11 [INFO] terraform: building graph: GraphTypeValidate
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test aws_iam_role.test]
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/22 19:04:11 [DEBUG] Starting graph walk: walkValidate
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "root"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "provider.aws"
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [TRACE] [walkValidate] Exiting eval tree: provider.aws
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/22 19:04:11 [TRACE] [walkValidate] Entering eval tree: aws_iam_role.test
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:11 [TRACE] [walkValidate] Exiting eval tree: aws_ecr_repository.test
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': expanding/walking dynamic subgraph
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.ResourceCountTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.TargetsTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.RootTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/22 19:04:11 [TRACE] [walkValidate] Entering eval tree: aws_ecr_repository.test
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [TRACE] [walkValidate] Exiting eval tree: aws_iam_role.test
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_iam_role.test': expanding/walking dynamic subgraph
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.ResourceCountTransformer:
aws_iam_role.test - *terraform.NodeValidatableResourceInstance
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:11 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_role.test - 2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': expanding/walking dynamic subgraph
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: []
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/22 19:04:11 [TRACE] [walkValidate] Entering eval tree: aws_ecr_repository_policy.test
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/22 19:04:11 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "root"
2017/07/22 19:04:11 [DEBUG] vertex 'root.root': walking
2017/07/22 19:04:11 [INFO] backend/local: apply calling Refresh
2017/07/22 19:04:11 [INFO] terraform: building graph: GraphTypeRefresh
2017/07/22 19:04:11 [DEBUG] Starting graph walk: walkRefresh
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "root"
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "root"
2017/07/22 19:04:11 [DEBUG] vertex 'root.root': walking
2017/07/22 19:04:11 [INFO] backend/local: apply calling Plan
2017/07/22 19:04:11 [INFO] terraform: building graph: GraphTypePlan
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:11 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/22 19:04:11 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test aws_iam_role.test]
2017/07/22 19:04:11 [DEBUG] Starting graph walk: walkPlan
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "root"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_iam_role.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:11 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/22 19:04:11 [DEBUG] dag/walk: walking "provider.aws"
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': walking
2017/07/22 19:04:11 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:11 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] No assume_role block read from configuration
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] Building AWS region structure
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] Building AWS auth structure
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] Setting AWS metadata API timeout to 100ms
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [INFO] Initializing DeviceFarm SDK connection
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:11 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Host: sts.amazonaws.com
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Content-Length: 43
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=2c891ea551b36d25e6a3963fd885fb5a3341a27e9ef889311120aa81bd69d9bb
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170411Z
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: Action=GetCallerIdentity&Version=2011-06-15
2017/07/22 19:04:11 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:12 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Content-Length: 403
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:11 GMT
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: c8de311c-6eff-11e7-aa53-575e88e0b16a
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:12 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <GetCallerIdentityResult>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <Account>146845887707</Account>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: </GetCallerIdentityResult>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: <RequestId>c8de311c-6eff-11e7-aa53-575e88e0b16a</RequestId>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: </GetCallerIdentityResponse>
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:12 [DEBUG] Trying to get account ID via iam:GetUser
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:12 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Host: iam.amazonaws.com
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Content-Length: 33
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=56e3bf21befb2ba85c09fd4d65271e04a3dba1580b3ef10d0e001f10b63a4ffa
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170412Z
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: Action=GetUser&Version=2010-05-08
2017/07/22 19:04:12 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Content-Length: 461
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:12 GMT
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: c9385ec9-6eff-11e7-a06b-a978cd800012
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <GetUserResult>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <User>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <Path>/</Path>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <UserName>frncmx</UserName>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <CreateDate>2016-07-19T17:59:05Z</CreateDate>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </User>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </GetUserResult>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <RequestId>c9385ec9-6eff-11e7-a06b-a978cd800012</RequestId>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </GetUserResponse>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Host: ec2.us-east-1.amazonaws.com
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Content-Length: 87
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=817a7f662f1c38d3fe09bc04bea96cd670fceaf9e3e36f389586009efae16ff2
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170413Z
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Transfer-Encoding: chunked
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml;charset=UTF-8
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:12 GMT
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Server: AmazonEC2
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: Vary: Accept-Encoding
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <requestId>628d7dca-658f-4b1f-9466-df37de9e0fc9</requestId>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <accountAttributeSet>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <attributeName>supported-platforms</attributeName>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <attributeValueSet>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <attributeValue>EC2</attributeValue>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: <attributeValue>VPC</attributeValue>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </attributeValueSet>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </accountAttributeSet>
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: </DescribeAccountAttributesResponse>
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_iam_role.test': expanding/walking dynamic subgraph
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:
aws_iam_role.test - *terraform.NodePlannableResourceInstance
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:13 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:13 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: aws_iam_role.test
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: aws_ecr_repository.test
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/22 19:04:13 [TRACE] [walkPlan] Entering eval tree: aws_ecr_repository_policy.test
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: aws_ecr_repository_policy.test
2017/07/22 19:04:13 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': expanding/walking dynamic subgraph
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.ResourceCountTransformer:
aws_ecr_repository_policy.test - *terraform.NodePlannableResourceInstance
2017/07/22 19:04:13 [TRACE] OrphanResourceCount: Starting...
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:
aws_ecr_repository_policy.test - *terraform.NodePlannableResourceInstance
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_ecr_repository2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: aws_ecr_repository_policy.test
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:13 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/22 19:04:13 [TRACE] [walkPlan] Entering eval tree: meta.count-boundary (count boundary fixup)
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: meta.count-boundary (count boundary fixup)
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/22 19:04:13 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/22 19:04:13 [TRACE] [walkPlan] Entering eval tree: provider.aws (close)
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/22 19:04:13 [TRACE] [walkPlan] Exiting eval tree: provider.aws (close)
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "root"
2017/07/22 19:04:13 [DEBUG] vertex 'root.root': walking
2017/07/22 19:04:13 [INFO] terraform: building graph: GraphTypeApply
2017/07/22 19:04:13 [TRACE] DiffTransformer: starting
2017/07/22 19:04:13 [TRACE] DiffTransformer: Module: CREATE: aws_ecr_repository.test
arn: "" => "<computed>"
name: "" => "test-ecr-attach-policy-bug" (forces new resource)
registry_id: "" => "<computed>"
repository_url: "" => "<computed>"
CREATE: aws_ecr_repository_policy.test
policy: "" => "<computed>"
registry_id: "" => "<computed>"
repository: "" => "test-ecr-attach-policy-bug" (forces new resource)
CREATE: aws_iam_role.test
arn: "" => "<computed>"
assume_role_policy: "" => "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:AssumeRole\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}\n"
create_date: "" => "<computed>"
force_detach_policies: "" => "false"
name: "" => "test-ecr-attach-policy-bug" (forces new resource)
path: "" => "/" (forces new resource)
unique_id: "" => "<computed>"
2017/07/22 19:04:13 [TRACE] DiffTransformer: Resource "aws_iam_role.test": *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"assume_role_policy":*terraform.ResourceAttrDiff{Old:"", New:"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:AssumeRole\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}\n", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "force_detach_policies":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "name":*terraform.ResourceAttrDiff{Old:"", New:"test-ecr-attach-policy-bug", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "path":*terraform.ResourceAttrDiff{Old:"", New:"/", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "create_date":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "arn":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x2}, "unique_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2017/07/22 19:04:13 [TRACE] DiffTransformer: Resource "aws_ecr_repository.test": *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"registry_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "repository_url":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x2}, "name":*terraform.ResourceAttrDiff{Old:"", New:"test-ecr-attach-policy-bug", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "arn":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2017/07/22 19:04:13 [TRACE] DiffTransformer: Resource "aws_ecr_repository_policy.test": *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"policy":*terraform.ResourceAttrDiff{Old:"", New:"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"${aws_iam_role.test.arn}\"\n }\n }\n ]\n}\n", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "registry_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "repository":*terraform.ResourceAttrDiff{Old:"", New:"test-ecr-attach-policy-bug", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x2}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.DiffTransformer:
aws_ecr_repository.test - *terraform.NodeApplyableResource
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
aws_iam_role.test - *terraform.NodeApplyableResource
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.OrphanOutputTransformer:
aws_ecr_repository.test - *terraform.NodeApplyableResource
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
aws_iam_role.test - *terraform.NodeApplyableResource
2017/07/22 19:04:13 [TRACE] AttachResourceConfigTransformer: Beginning...
2017/07/22 19:04:13 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_iam_role.test
2017/07/22 19:04:13 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_iam_role", RawCount:(*config.RawConfig)(0xc4202f0a20), RawConfig:(*config.RawConfig)(0xc4202f07e0), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/22 19:04:13 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_ecr_repository.test
2017/07/22 19:04:13 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_ecr_repository", RawCount:(*config.RawConfig)(0xc4202f01e0), RawConfig:(*config.RawConfig)(0xc4202f0060), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/22 19:04:13 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_ecr_repository_policy.test
2017/07/22 19:04:13 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_ecr_repository_policy", RawCount:(*config.RawConfig)(0xc4202f0660), RawConfig:(*config.RawConfig)(0xc4202f0360), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
aws_ecr_repository.test - *terraform.NodeApplyableResource
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
aws_iam_role.test - *terraform.NodeApplyableResource
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/22 19:04:13 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_ecr_repository.test - *terraform.NodeApplyableResource
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
aws_iam_role.test - *terraform.NodeApplyableResource
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.MissingProviderTransformer:
aws_ecr_repository.test - *terraform.NodeApplyableResource
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
aws_iam_role.test - *terraform.NodeApplyableResource
provider.aws - *terraform.NodeApplyableProvider
2017/07/22 19:04:13 [TRACE] Graph after step *terraform.ProviderTransformer:
aws_ecr_repository.test - *(count boundary fixup) - *terraform.NodeCountBoundary
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
aws_ecr_repository_policy.test - *terraform.NodeApplyableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.aws (close) - *terraform.graphNodeCloseProvider
2017/07/22 19:04:13 [DEBUG] Starting graph walk: walkApply
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "root"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_iam_role.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/22 19:04:13 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/22 19:04:13 [DEBUG] dag/walk: walking "provider.aws"
2017/07/22 19:04:13 [DEBUG] vertex 'root.provider.aws': walking
2017/07/22 19:04:13 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/22 19:04:13 [TRACE] [walkApply] Entering eval tree: provider.aws
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/22 19:04:13 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:13 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:13 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [INFO] No assume_role block read from configuration
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [INFO] Building AWS region structure
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [INFO] Building AWS auth structure
2017/07/22 19:04:13 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:13 [INFO] Setting AWS metadata API timeout to 100ms
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:14 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:14 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:14 [INFO] Initializing DeviceFarm SDK connection
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:14 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Host: sts.amazonaws.com
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Content-Length: 43
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=2d957ac82b98aed0de2737b30ba6d9fb1b91a32d216de480fcb05938970e24f6
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170414Z
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: Action=GetCallerIdentity&Version=2011-06-15
2017/07/22 19:04:14 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Length: 403
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:13 GMT
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: ca62123a-6eff-11e7-942f-3dbc57dda6e4
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <GetCallerIdentityResult>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <Account>146845887707</Account>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </GetCallerIdentityResult>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <RequestId>ca62123a-6eff-11e7-942f-3dbc57dda6e4</RequestId>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </GetCallerIdentityResponse>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] Trying to get account ID via iam:GetUser
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Host: iam.amazonaws.com
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Length: 33
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8c93fd4696332d30c4a06d252069035970f25449ca49256de62d5f118a5ef6a3
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170415Z
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Action=GetUser&Version=2010-05-08
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Length: 461
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:14 GMT
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cac16fcc-6eff-11e7-82a3-4561bd559d04
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <GetUserResult>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <User>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <Path>/</Path>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <UserName>frncmx</UserName>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <CreateDate>2016-07-19T17:59:05Z</CreateDate>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </User>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </GetUserResult>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: <RequestId>cac16fcc-6eff-11e7-82a3-4561bd559d04</RequestId>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: </GetUserResponse>
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:15 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Host: ec2.us-east-1.amazonaws.com
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Length: 87
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=13a49ec4fa78deb24ed705c9a22d98edacf0eaa1e73e61dba7ce2d12bc709ad7
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170415Z
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2017/07/22 19:04:15 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Transfer-Encoding: chunked
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml;charset=UTF-8
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:15 GMT
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Server: AmazonEC2
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Vary: Accept-Encoding
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <requestId>5e49ee65-46f7-4242-850c-dd7699508264</requestId>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <accountAttributeSet>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <attributeName>supported-platforms</attributeName>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <attributeValueSet>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <attributeValue>EC2</attributeValue>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: <attributeValue>VPC</attributeValue>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </attributeValueSet>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </item>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </accountAttributeSet>
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: </DescribeAccountAttributesResponse>
2017/07/22 19:04:16 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/22 19:04:16 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/22 19:04:16 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/22 19:04:16 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/22 19:04:16 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/22 19:04:16 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:16 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalApply
2017/07/22 19:04:16 [DEBUG] apply: aws_ecr_repository.test: executing Apply
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/22 19:04:16 [DEBUG] root: eval: *terraform.EvalApply
2017/07/22 19:04:16 [DEBUG] apply: aws_iam_role.test: executing Apply
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] Creating ECR resository: {
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: RepositoryName: "test-ecr-attach-policy-bug"
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: }
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] Waiting for state to become: [success]
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/CreateRepository Details:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Length: 47
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=44ba5dc21bb46e8c9929e5099b7cbc8656c8031906d86a2c8252a36ec082d2fe
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170416Z
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.CreateRepository
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: {"repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreateRole Details:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Host: iam.amazonaws.com
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Length: 398
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b7679a11025a6978ef6a8b5591b71b9a2163af59517e914b9c66da31a85173e1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170416Z
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Action=CreateRole&AssumeRolePolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%0A++++%7B%0A++++++%22Action%22%3A+%22sts%3AAssumeRole%22%2C%0A++++++%22Effect%22%3A+%22Allow%22%2C%0A++++++%22Principal%22%3A+%7B%0A++++++++%22Service%22%3A+%22ec2.amazonaws.com%22%0A++++++%7D%0A++++%7D%0A++%5D%0A%7D%0A&Path=%2F&RoleName=test-ecr-attach-policy-bug&Version=2010-05-08
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/CreateRepository Details:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Length: 297
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:16 GMT
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cb8ed283-6eff-11e7-9738-0bd75a3cef25
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] {"repository":{"createdAt":1.500743057E9,"registryId":"146845887707","repositoryArn":"arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug","repositoryName":"test-ecr-attach-policy-bug","repositoryUri":"146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"}}
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] ECR repository created: "arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug"
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] Reading repository test-ecr-attach-policy-bug
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:16 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/DescribeRepositories Details:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Length: 50
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=c75c87e73559d40e1c6dc9447b8cbfc8a0f622a46cb4d33b8d27e34546d51b72
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170416Z
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.DescribeRepositories
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: {"repositoryNames":["test-ecr-attach-policy-bug"]}
2017/07/22 19:04:16 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreateRole Details:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Length: 972
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:16 GMT
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cb8e5d51-6eff-11e7-8495-c7cd7971bc63
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] <CreateRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <CreateRoleResult>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Role>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Path>/</Path>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <AssumeRolePolicyDocument>%7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22Action%22%3A%20%22sts%3AAssumeRole%22%2C%0A%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%22Principal%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22Service%22%3A%20%22ec2.amazonaws.com%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D%0A</AssumeRolePolicyDocument>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RoleId>AROAJ4QISX4YDWYE3UCS6</RoleId>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RoleName>test-ecr-attach-policy-bug</RoleName>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug</Arn>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <CreateDate>2017-07-22T17:04:16.914Z</CreateDate>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </Role>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </CreateRoleResult>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RequestId>cb8e5d51-6eff-11e7-8495-c7cd7971bc63</RequestId>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </CreateRoleResponse>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Host: iam.amazonaws.com
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Length: 69
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=c47d53f789b61d8cc110c5b5323d016fc44f7fb094b722406d3e0093ac431768
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170417Z
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Action=GetRole&RoleName=test-ecr-attach-policy-bug&Version=2010-05-08
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/DescribeRepositories Details:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Length: 301
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:17 GMT
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cbf18bb2-6eff-11e7-96a1-b1959c8172c7
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] {"repositories":[{"createdAt":1.500743057E9,"registryId":"146845887707","repositoryArn":"arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug","repositoryName":"test-ecr-attach-policy-bug","repositoryUri":"146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"}]}
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] Received repository {
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Repositories: [{
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: CreatedAt: 2017-07-22 17:04:17 +0000 UTC,
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: RegistryId: "146845887707",
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: RepositoryArn: "arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug",
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: RepositoryName: "test-ecr-attach-policy-bug",
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: RepositoryUri: "146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: }]
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: }
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [INFO] Setting the repository url to be 146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/22 19:04:17 [TRACE] Preserving existing state lineage "b9604514-74b7-45c3-a857-ddd680064ef3"
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Length: 764
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Type: text/xml
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:16 GMT
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cbf3fcf2-6eff-11e7-82a3-4561bd559d04
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] <GetRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <GetRoleResult>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Role>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Path>/</Path>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <AssumeRolePolicyDocument>%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22ec2.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D</AssumeRolePolicyDocument>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RoleId>AROAJ4QISX4YDWYE3UCS6</RoleId>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RoleName>test-ecr-attach-policy-bug</RoleName>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <Arn>arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug</Arn>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <CreateDate>2017-07-22T17:04:16Z</CreateDate>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </Role>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </GetRoleResult>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <ResponseMetadata>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: <RequestId>cbf3fcf2-6eff-11e7-82a3-4561bd559d04</RequestId>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </ResponseMetadata>
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: </GetRoleResponse>
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/22 19:04:17 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/22 19:04:17 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/22 19:04:17 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:17 [DEBUG] root: eval: terraform.EvalNoop
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/22 19:04:17 [DEBUG] root: eval: *terraform.EvalApply
2017/07/22 19:04:17 [DEBUG] apply: aws_ecr_repository_policy.test: executing Apply
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] Creating ECR resository policy: {
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: PolicyText: "{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n",
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: RepositoryName: "test-ecr-attach-policy-bug"
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: }
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] Waiting for state to become: [success]
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:17 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=f856d115755a1918a5f454a9605ea0c21bc392175bc321bde76390ba53b4d9c2
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170417Z
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:17 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:18 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 400 Bad Request
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Content-Length: 151
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:18 GMT
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cc56b5c4-6eff-11e7-964a-03450f72526f
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:18 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:18 [TRACE] Waiting 500ms before next try
2017/07/22 19:04:18 [DEBUG] dag/walk: vertex "meta.count-boundary (count boundary fixup)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:18 [DEBUG] dag/walk: vertex "root", waiting for: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:18 [DEBUG] dag/walk: vertex "provider.aws (close)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:18 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=311faab7b6c857a63901f3c502d8a6160ae47f9fb92205ed30ad0a3a2c8e08e2
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170418Z
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:18 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:19 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 400 Bad Request
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: Content-Length: 151
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:19 GMT
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cd056c8e-6eff-11e7-964a-03450f72526f
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:19 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/22 19:04:19 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:19 [TRACE] Waiting 1s before next try
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:20 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=13d7d353e0debbb3559348f86417bd1a7297fb42d9e26fa91d11cf4eac4d475c
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170420Z
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:20 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:21 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 400 Bad Request
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: Content-Length: 151
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:21 GMT
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: ce11d3e8-6eff-11e7-93d4-bbea9dc3f8bc
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:21 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/22 19:04:21 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:21 [TRACE] Waiting 2s before next try
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:23 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=414c84c568fe87559bbbde056df3b4c468e1ec4dd37b2c9fe87cc19b6ced97f5
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170423Z
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:23 [DEBUG] dag/walk: vertex "meta.count-boundary (count boundary fixup)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:23 [DEBUG] dag/walk: vertex "root", waiting for: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:23 [DEBUG] dag/walk: vertex "provider.aws (close)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:23 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 400 Bad Request
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Content-Length: 151
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:23 GMT
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: cfa2d3a6-6eff-11e7-964a-03450f72526f
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:23 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/22 19:04:23 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:23 [TRACE] Waiting 4s before next try
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:27 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=4b64adfc2be514c024819aaa87f832e2535ebbffd7fe3db30edb2d1d472d00f2
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170427Z
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:27 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:28 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 400 Bad Request
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: Content-Length: 151
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:28 GMT
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: d267e770-6eff-11e7-96a1-b1959c8172c7
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:28 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/22 19:04:28 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:28 [TRACE] Waiting 8s before next try
2017/07/22 19:04:28 [DEBUG] dag/walk: vertex "meta.count-boundary (count boundary fixup)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:28 [DEBUG] dag/walk: vertex "root", waiting for: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:28 [DEBUG] dag/walk: vertex "provider.aws (close)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:33 [DEBUG] dag/walk: vertex "meta.count-boundary (count boundary fixup)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:33 [DEBUG] dag/walk: vertex "provider.aws (close)", waiting for: "aws_ecr_repository_policy.test"
2017/07/22 19:04:33 [DEBUG] dag/walk: vertex "root", waiting for: "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:36 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: Content-Length: 358
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=425b045215e3738cdffe783d95984f9529b6e36360229b33a4b28dca5834efd8
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170436Z
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: {"policyText":"{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:ListImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}\n","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:36 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Length: 369
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:37 GMT
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: d792d6d8-6eff-11e7-a48f-31819444fce2
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] [aws-sdk-go] {"policyText":"{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"DescribeImages\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n },\n \"Action\" : \"ecr:ListImages\"\n } ]\n}","registryId":"146845887707","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] ECR repository policy created: test-ecr-attach-policy-bug
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] Reading repository policy test-ecr-attach-policy-bug
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/GetRepositoryPolicy Details:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: POST / HTTP/1.1
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Host: ecr.us-east-1.amazonaws.com
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: User-Agent: aws-sdk-go/1.10.10 (go1.8.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.8
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Length: 75
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOY6ZHLOG3CFYHSA/20170722/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=5f5bda893319960aa09b51f6a72ce2b8093e4af2aaf0d2a89ffbff23e778b929
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: X-Amz-Date: 20170722T170437Z
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.GetRepositoryPolicy
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Accept-Encoding: gzip
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: {"registryId":"146845887707","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/GetRepositoryPolicy Details:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: ---[ RESPONSE ]--------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: HTTP/1.1 200 OK
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Connection: close
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Length: 369
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Content-Type: application/x-amz-json-1.1
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Date: Sat, 22 Jul 2017 17:04:37 GMT
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: Server: Server
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: X-Amzn-Requestid: d7f3e355-6eff-11e7-b532-1f00b919fdc9
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws:
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: -----------------------------------------------------
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] [aws-sdk-go] {"policyText":"{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"DescribeImages\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n },\n \"Action\" : \"ecr:ListImages\"\n } ]\n}","registryId":"146845887707","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: 2017/07/22 19:04:37 [DEBUG] Received repository policy {
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: PolicyText: "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"DescribeImages\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n },\n \"Action\" : \"ecr:ListImages\"\n } ]\n}",
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: RegistryId: "146845887707",
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: RepositoryName: "test-ecr-attach-policy-bug"
2017/07/22 19:04:37 [DEBUG] plugin: terraform-provider-aws: }
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalIf
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/22 19:04:37 [TRACE] Preserving existing state lineage "b9604514-74b7-45c3-a857-ddd680064ef3"
2017/07/22 19:04:37 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/22 19:04:37 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/22 19:04:37 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/22 19:04:37 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/22 19:04:37 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/22 19:04:37 [TRACE] [walkApply] Entering eval tree: meta.count-boundary (count boundary fixup)
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2017/07/22 19:04:37 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "aws_ecr_repository_policy.test.0", replace "aws_ecr_repository_policy.test"
2017/07/22 19:04:37 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "aws_ecr_repository.test.0", replace "aws_ecr_repository.test"
2017/07/22 19:04:37 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "aws_iam_role.test.0", replace "aws_iam_role.test"
2017/07/22 19:04:37 [TRACE] [walkApply] Exiting eval tree: meta.count-boundary (count boundary fixup)
2017/07/22 19:04:37 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/22 19:04:37 [TRACE] [walkApply] Entering eval tree: provider.aws (close)
2017/07/22 19:04:37 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/22 19:04:37 [TRACE] [walkApply] Exiting eval tree: provider.aws (close)
2017/07/22 19:04:37 [DEBUG] dag/walk: walking "root"
2017/07/22 19:04:37 [DEBUG] vertex 'root.root': walking
2017/07/22 19:04:37 [TRACE] Preserving existing state lineage "b9604514-74b7-45c3-a857-ddd680064ef3"
2017/07/22 19:04:37 [TRACE] Preserving existing state lineage "b9604514-74b7-45c3-a857-ddd680064ef3"
2017/07/22 19:04:37 [TRACE] Preserving existing state lineage "b9604514-74b7-45c3-a857-ddd680064ef3"
2017/07/22 19:04:37 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/07/22 19:04:37 [DEBUG] plugin: /home/frncmx/code/bin/terraform-provider-aws: plugin process exited
2017/07/16 19:25:40 [INFO] Terraform version: 0.9.11 efca455c35d0d218a9bfee835a8ec3ef8d4d1c8c
2017/07/16 19:25:40 [INFO] Go runtime version: go1.8
2017/07/16 19:25:40 [INFO] CLI args: []string{"/home/frncmx/bin/terraform", "apply"}
2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] Attempting to open CLI config file: /home/frncmx/.terraformrc
2017/07/16 19:25:40 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/07/16 19:25:40 [INFO] CLI command args: []string{"apply"}
2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] command: loading backend config file: /home/frncmx/moka/tf-ecr-iam-test
2017/07/16 19:25:40 [DEBUG] command: no data state file found for backend config
2017/07/16 19:25:40 [DEBUG] New state was assigned lineage "f6a9eb96-454e-41ac-b2a4-088a3058c8bf"
2017/07/16 19:25:40 [INFO] command: backend initialized: <nil>
2017/07/16 19:25:40 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/07/16 19:25:40 [INFO] backend/local: starting Apply operation
2017/07/16 19:25:40 [INFO] terraform: building graph: GraphTypeInput
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:40 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test data.aws_iam_policy_document.describe_ecr_images]
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: [aws_iam_role.test]
2017/07/16 19:25:40 [DEBUG] Starting graph walk: walkInput
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "root"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "data.aws_iam_policy_document.describe_ecr_images" waiting on "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "data.aws_iam_policy_document.describe_ecr_images", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "provider.aws"
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/16 19:25:40 [DEBUG] plugin: starting plugin: /home/frncmx/bin/terraform []string{"/home/frncmx/bin/terraform", "internal-plugin", "provider", "aws"}
2017/07/16 19:25:40 [DEBUG] plugin: waiting for RPC address for: /home/frncmx/bin/terraform
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [INFO] Terraform version: 0.9.11 efca455c35d0d218a9bfee835a8ec3ef8d4d1c8c
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [INFO] Go runtime version: go1.8
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [INFO] CLI args: []string{"/home/frncmx/bin/terraform", "internal-plugin", "provider", "aws"}
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [DEBUG] Attempting to open CLI config file: /home/frncmx/.terraformrc
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [DEBUG] Detected home directory from env var: /home/frncmx
2017/07/16 19:25:40 [DEBUG] plugin: terraform: 2017/07/16 19:25:40 [INFO] CLI command args: []string{"internal-plugin", "provider", "aws"}
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] Starting provider plugin aws
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [DEBUG] plugin: plugin address: unix /tmp/plugin845397774
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInputProvider
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [TRACE] [walkInput] Exiting eval tree: provider.aws
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws (close)': evaluating
ce{Mode:1, Name:"describe_ecr_images", Type:"aws_iam_policy_document", RawCount:(*config.RawConfig)(0xc42043e960), RawConfig:(*config.RawConfig)(0xc42043e1e0), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/16 19:25:40 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_ecr_repository.test
2017/07/16 19:25:40 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_ecr_repository", RawCount:(*config.RawConfig)(0xc42032b7a0), RawConfig:(*config.RawConfig)(0xc42032b620), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/16 19:25:40 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_ecr_repository_policy.test
2017/07/16 19:25:40 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_ecr_repository_policy", RawCount:(*config.RawConfig)(0xc42032bc80), RawConfig:(*config.RawConfig)(0xc42032b980), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/16 19:25:40 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_iam_role.test
2017/07/16 19:25:40 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"aws_iam_role", RawCount:(*config.RawConfig)(0xc42043e060), RawConfig:(*config.RawConfig)(0xc42032be00), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/07/16 19:25:40 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResource
aws_ecr_repository_policy.test - *terraform.NodeValidatableResource
aws_iam_role.test - *terraform.NodeValidatableResource
data.aws_iam_policy_document.describe_ecr_images - *terraform.NodeValidatableResource
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:40 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:40 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResource
aws_ecr_repository_policy.test - *terraform.NodeValidatableResource
aws_iam_role.test - *terraform.NodeValidatableResource
data.aws_iam_policy_document.describe_ecr_images - *terraform.NodeValidatableResource
2017/07/16 19:25:40 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResource
aws_ecr_repository_policy.test - *terraform.NodeValidatableResource
aws_iam_role.test - *terraform.NodeValidatableResource
data.aws_iam_policy_document.describe_ecr_images - *terraform.NodeValidatableResource
2017/07/16 19:25:40 [TRACE] Graph after step *terraform.MissingProviderTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResource
aws_ecr_repository_policy.test - *terraform.NodeValidatableResource
aws_iam_role.test - *terraform.NodeValidatableResource
data.aws_iam_policy_document.describe_ecr_images - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
2017/07/16 19:25:40 [TRACE] Graph after step *terraform.ProviderTransformer:
aws_ecr_repository.test - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
aws_ecr_repository_policy.test - *terraform.NodeUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "data.aws_iam_policy_document.describe_ecr_images" waiting on "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "data.aws_iam_policy_document.describe_ecr_images", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "provider.aws"
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/16 19:25:40 [TRACE] [walkValidate] Entering eval tree: provider.aws
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [TRACE] [walkValidate] Exiting eval tree: provider.aws
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': expanding/walking dynamic subgraph
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': expanding/walking dynamic subgraph
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': expanding/walking dynamic subgraph
2017/07/16 19:25:40 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: []
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': expanding/walking dynamic subgraph
2017/07/16 19:25:40 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: []
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/16 19:25:40 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "root"
2017/07/16 19:25:40 [DEBUG] vertex 'root.root': walking
2017/07/16 19:25:40 [INFO] backend/local: apply calling Refresh
2017/07/16 19:25:40 [INFO] terraform: building graph: GraphTypeRefresh
2017/07/16 19:25:40 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: []
2017/07/16 19:25:40 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/16 19:25:40 [DEBUG] Starting graph walk: walkRefresh
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:40 [DEBUG] dag/walk: added edge: "data.aws_iam_policy_document.describe_ecr_images" waiting on "provider.aws"
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: dependencies changed for "data.aws_iam_policy_document.describe_ecr_images", sending new deps
2017/07/16 19:25:40 [DEBUG] dag/walk: walking "provider.aws"
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': walking
2017/07/16 19:25:40 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:40 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] No assume_role block read from configuration
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] Building AWS region structure
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] Building AWS auth structure
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [INFO] Initializing DeviceFarm SDK connection
2017/07/16 19:25:40 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:40 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/07/16 19:25:40 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:40 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/07/16 19:25:40 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Content-Length: 43
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a62941f8c45ebbf95dd3579acccff7a5a85e6927a5656228b90ec48eaa6f4788
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:40 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172540Z
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:40 [DEBUG] plugin: terraform:
2017/07/16 19:25:40 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/07/16 19:25:40 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:41 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:41 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/07/16 19:25:41 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:41 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Content-Length: 403
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:41 GMT
2017/07/16 19:25:41 [DEBUG] plugin: terraform: X-Amzn-Requestid: cad46d31-6a4b-11e7-8e91-0760c622e683
2017/07/16 19:25:41 [DEBUG] plugin: terraform:
2017/07/16 19:25:41 [DEBUG] plugin: terraform:
2017/07/16 19:25:41 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:41 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:41 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <GetCallerIdentityResult>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <Account>146845887707</Account>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: </GetCallerIdentityResult>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: <RequestId>cad46d31-6a4b-11e7-8e91-0760c622e683</RequestId>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/07/16 19:25:41 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:41 [DEBUG] Trying to get account ID via iam:GetUser
2017/07/16 19:25:41 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:41 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/07/16 19:25:41 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:41 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/07/16 19:25:41 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Content-Length: 33
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=4810ad5d81a89494f15e230a6c0d8ca49d95e7794689c41386c3bff846c00d24
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:41 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172541Z
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:41 [DEBUG] plugin: terraform:
2017/07/16 19:25:41 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/07/16 19:25:41 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:42 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:42 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/07/16 19:25:42 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:42 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Content-Length: 461
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:42 GMT
2017/07/16 19:25:42 [DEBUG] plugin: terraform: X-Amzn-Requestid: cb529da0-6a4b-11e7-8495-c7cd7971bc63
2017/07/16 19:25:42 [DEBUG] plugin: terraform:
2017/07/16 19:25:42 [DEBUG] plugin: terraform:
2017/07/16 19:25:42 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:42 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:42 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <GetUserResult>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <User>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <Path>/</Path>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <UserName>frncmx</UserName>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <CreateDate>2016-07-19T17:59:05Z</CreateDate>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: </User>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: </GetUserResult>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: <RequestId>cb529da0-6a4b-11e7-8495-c7cd7971bc63</RequestId>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: </GetUserResponse>
2017/07/16 19:25:42 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:42 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:42 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:42 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Host: ec2.us-east-1.amazonaws.com
2017/07/16 19:25:42 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Content-Length: 87
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=854c8955535c7db58bc001bb8a29cc57fafc72ba2f4346fb90cfa98c2e16ffe2
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:42 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172542Z
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:42 [DEBUG] plugin: terraform:
2017/07/16 19:25:42 [DEBUG] plugin: terraform: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2017/07/16 19:25:42 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:43 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:43 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:43 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:43 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Transfer-Encoding: chunked
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Content-Type: text/xml;charset=UTF-8
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:43 GMT
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Server: AmazonEC2
2017/07/16 19:25:43 [DEBUG] plugin: terraform: Vary: Accept-Encoding
2017/07/16 19:25:43 [DEBUG] plugin: terraform:
2017/07/16 19:25:43 [DEBUG] plugin: terraform:
2017/07/16 19:25:43 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:43 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:43 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <requestId>b4a5e254-451e-46e3-8540-4b7112cac37c</requestId>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <accountAttributeSet>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <attributeName>supported-platforms</attributeName>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <attributeValueSet>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <attributeValue>EC2</attributeValue>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: <attributeValue>VPC</attributeValue>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </attributeValueSet>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </accountAttributeSet>
2017/07/16 19:25:43 [DEBUG] plugin: terraform: </DescribeAccountAttributesResponse>
2017/07/16 19:25:43 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:43 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:43 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:43 [TRACE] [walkRefresh] Exiting eval tree: data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:43 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': expanding/walking dynamic subgraph
2017/07/16 19:25:43 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: []
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:43 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:43 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:43 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalIf, err: early exit
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence, err: early exit
2017/07/16 19:25:43 [TRACE] [walkRefresh] Exiting eval tree: data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:43 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/16 19:25:43 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/16 19:25:43 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/16 19:25:43 [INFO] terraform: building graph: GraphTypePlan
2017/07/16 19:25:43 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:43 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:43 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:43 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: [aws_iam_role.test]
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test data.aws_iam_policy_document.describe_ecr_images]
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/16 19:25:43 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "root"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:43 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "data.aws_iam_policy_document.describe_ecr_images" waiting on "aws_iam_role.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/16 19:25:43 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "data.aws_iam_policy_document.describe_ecr_images", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/16 19:25:43 [DEBUG] dag/walk: walking "provider.aws"
2017/07/16 19:25:43 [DEBUG] vertex 'root.provider.aws': walking
2017/07/16 19:25:43 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/16 19:25:43 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:43 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:43 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/07/16 19:25:43 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:43 [INFO] No assume_role block read from configuration
2017/07/16 19:25:43 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:43 [INFO] Building AWS region structure
2017/07/16 19:25:43 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:43 [INFO] Building AWS auth structure
2017/07/16 19:25:44 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:44 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/07/16 19:25:44 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:44 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/07/16 19:25:44 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:44 [INFO] Initializing DeviceFarm SDK connection
2017/07/16 19:25:44 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:44 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/07/16 19:25:44 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:44 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/07/16 19:25:44 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Content-Length: 43
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=dc2af69c82beb09ccd44093bf31f5c773e4f10911108aaf5a7bcb030262a96ee
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:44 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172544Z
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:44 [DEBUG] plugin: terraform:
2017/07/16 19:25:44 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/07/16 19:25:44 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Length: 403
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:44 GMT
2017/07/16 19:25:45 [DEBUG] plugin: terraform: X-Amzn-Requestid: cce2da72-6a4b-11e7-972f-cb1bca3c787a
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <GetCallerIdentityResult>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <Account>146845887707</Account>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </GetCallerIdentityResult>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <RequestId>cce2da72-6a4b-11e7-972f-cb1bca3c787a</RequestId>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] Trying to get account ID via iam:GetUser
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/07/16 19:25:45 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Length: 33
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=c9a70eeec61f04f0afd81dbca76a9f425f19896c9ff763c14e768c6ed9b9a1ab
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:45 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172545Z
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/07/16 19:25:45 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Length: 461
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:45 GMT
2017/07/16 19:25:45 [DEBUG] plugin: terraform: X-Amzn-Requestid: cd5ee843-6a4b-11e7-9234-1707482cd147
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <GetUserResult>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <User>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <Path>/</Path>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <UserName>frncmx</UserName>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <CreateDate>2016-07-19T17:59:05Z</CreateDate>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </User>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </GetUserResult>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: <RequestId>cd5ee843-6a4b-11e7-9234-1707482cd147</RequestId>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: </GetUserResponse>
2017/07/16 19:25:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:45 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:45 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Host: ec2.us-east-1.amazonaws.com
2017/07/16 19:25:45 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Length: 87
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=96a3b0be1214606a70d64f2dcc862166681f8805ce7d22eb21d9af8191e15b33
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:45 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172545Z
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:45 [DEBUG] plugin: terraform:
2017/07/16 19:25:45 [DEBUG] plugin: terraform: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2017/07/16 19:25:45 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:46 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:46 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:46 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:46 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Transfer-Encoding: chunked
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Content-Type: text/xml;charset=UTF-8
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:46 GMT
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Server: AmazonEC2
2017/07/16 19:25:46 [DEBUG] plugin: terraform: Vary: Accept-Encoding
2017/07/16 19:25:46 [DEBUG] plugin: terraform:
2017/07/16 19:25:46 [DEBUG] plugin: terraform:
2017/07/16 19:25:46 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:46 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:46 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <requestId>eaa36f50-916e-461b-b99c-a925fc1c5b97</requestId>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <accountAttributeSet>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <attributeName>supported-platforms</attributeName>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <attributeValueSet>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <attributeValue>EC2</attributeValue>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: <attributeValue>VPC</attributeValue>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </attributeValueSet>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </accountAttributeSet>
2017/07/16 19:25:46 [DEBUG] plugin: terraform: </DescribeAccountAttributesResponse>
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:46 [TRACE] [walkPlan] Exiting eval tree: aws_ecr_repository.test
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository.test': expanding/walking dynamic subgraph
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_iam_role.test': expanding/walking dynamic subgraph
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/16 19:25:46 [TRACE] [walkPlan] Entering eval tree: aws_iam_role.test
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/16 19:25:46 [TRACE] [walkPlan] Entering eval tree: aws_ecr_repository.test
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:46 [TRACE] [walkPlan] Exiting eval tree: aws_iam_role.test
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:46 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:46 [TRACE] [walkPlan] Exiting eval tree: data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:46 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': expanding/walking dynamic subgraph
2017/07/16 19:25:46 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: []
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:46 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:46 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalReadDataDiff
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:46 [TRACE] [walkPlan] Exiting eval tree: data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: []
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:46 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "provider.aws (close)"
2017/07/16 19:25:46 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2017/07/16 19:25:46 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/07/16 19:25:46 [INFO] terraform: building graph: GraphTypeApply
ype:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2017/07/16 19:25:46 [DEBUG] Resource state not found for "data.aws_iam_policy_document.describe_ecr_images": data.aws_iam_policy_document.describe_ecr_images
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_ecr_repository_policy.test": aws_ecr_repository_policy.test
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_iam_role.test": aws_iam_role.test
2017/07/16 19:25:46 [DEBUG] Resource state not found for "aws_ecr_repository.test": aws_ecr_repository.test
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_ecr_repository.test" references: []
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.describe_ecr_images" references: [aws_iam_role.test aws_iam_role.test]
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_ecr_repository_policy.test" references: [aws_ecr_repository.test data.aws_iam_policy_document.describe_ecr_images aws_ecr_repository.test data.aws_iam_policy_document.describe_ecr_images]
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/07/16 19:25:46 [DEBUG] ReferenceTransformer: "aws_iam_role.test" references: []
2017/07/16 19:25:46 [DEBUG] Starting graph walk: walkApply
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "provider.aws (close)"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "root"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_iam_role.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "provider.aws (close)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "aws_iam_role.test" waiting on "provider.aws"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "data.aws_iam_policy_document.describe_ecr_images" waiting on "aws_iam_role.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "aws_ecr_repository.test" waiting on "provider.aws"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "aws_ecr_repository_policy.test" waiting on "aws_ecr_repository.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2017/07/16 19:25:46 [DEBUG] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_ecr_repository_policy.test"
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "aws_iam_role.test", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "data.aws_iam_policy_document.describe_ecr_images", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository.test", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "aws_ecr_repository_policy.test", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/07/16 19:25:46 [DEBUG] dag/walk: walking "provider.aws"
2017/07/16 19:25:46 [DEBUG] vertex 'root.provider.aws': walking
2017/07/16 19:25:46 [DEBUG] vertex 'root.provider.aws': evaluating
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/07/16 19:25:46 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:46 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:46 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/07/16 19:25:46 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:46 [INFO] No assume_role block read from configuration
2017/07/16 19:25:46 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:46 [INFO] Building AWS region structure
2017/07/16 19:25:46 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:46 [INFO] Building AWS auth structure
2017/07/16 19:25:47 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:47 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/07/16 19:25:47 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:47 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/07/16 19:25:47 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:47 [INFO] Initializing DeviceFarm SDK connection
2017/07/16 19:25:47 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:47 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/07/16 19:25:47 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:47 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/07/16 19:25:47 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Content-Length: 43
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=d247c6cd478b8e3492c083a79cbced8de815f347ec1df501bdd9a9ef484672e3
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:47 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172547Z
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:47 [DEBUG] plugin: terraform:
2017/07/16 19:25:47 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/07/16 19:25:47 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:48 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:48 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/07/16 19:25:48 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:48 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Content-Length: 403
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:48 GMT
2017/07/16 19:25:48 [DEBUG] plugin: terraform: X-Amzn-Requestid: cee142e5-6a4b-11e7-8e86-d7a305ed6796
2017/07/16 19:25:48 [DEBUG] plugin: terraform:
2017/07/16 19:25:48 [DEBUG] plugin: terraform:
2017/07/16 19:25:48 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:48 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:48 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <GetCallerIdentityResult>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <Account>146845887707</Account>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: </GetCallerIdentityResult>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: <RequestId>cee142e5-6a4b-11e7-8e86-d7a305ed6796</RequestId>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/07/16 19:25:48 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:48 [DEBUG] Trying to get account ID via iam:GetUser
2017/07/16 19:25:48 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:48 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/07/16 19:25:48 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:48 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/07/16 19:25:48 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Content-Length: 33
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=97dc6a0c7225909f542c21ee82a3a987131d3399e851dbc6f49d23da7aa160b6
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:48 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172548Z
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:48 [DEBUG] plugin: terraform:
2017/07/16 19:25:48 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/07/16 19:25:48 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:49 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:49 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/07/16 19:25:49 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:49 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Content-Length: 461
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:49 GMT
2017/07/16 19:25:49 [DEBUG] plugin: terraform: X-Amzn-Requestid: cf69fa56-6a4b-11e7-ab5a-d3fbcaeac309
2017/07/16 19:25:49 [DEBUG] plugin: terraform:
2017/07/16 19:25:49 [DEBUG] plugin: terraform:
2017/07/16 19:25:49 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:49 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:49 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <GetUserResult>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <User>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <Path>/</Path>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <UserName>frncmx</UserName>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:user/frncmx</Arn>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <UserId>AIDAJGQMJDER5AZNS2SMY</UserId>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <CreateDate>2016-07-19T17:59:05Z</CreateDate>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: </User>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: </GetUserResult>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: <RequestId>cf69fa56-6a4b-11e7-ab5a-d3fbcaeac309</RequestId>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: </GetUserResponse>
2017/07/16 19:25:49 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:49 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:49 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:49 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Host: ec2.us-east-1.amazonaws.com
2017/07/16 19:25:49 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Content-Length: 87
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cb9a81df2832358571987a9b42c2a8a2d364e45c373befface87ccea2bf9056d
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:49 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172549Z
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:49 [DEBUG] plugin: terraform:
2017/07/16 19:25:49 [DEBUG] plugin: terraform: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2017/07/16 19:25:49 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Transfer-Encoding: chunked
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Content-Type: text/xml;charset=UTF-8
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:49 GMT
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Server: AmazonEC2
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Vary: Accept-Encoding
2017/07/16 19:25:50 [DEBUG] plugin: terraform:
2017/07/16 19:25:50 [DEBUG] plugin: terraform:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <requestId>d1dbab81-9383-4180-ae00-14d2189b8a8d</requestId>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <accountAttributeSet>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <attributeName>supported-platforms</attributeName>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <attributeValueSet>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <attributeValue>EC2</attributeValue>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: <attributeValue>VPC</attributeValue>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </attributeValueSet>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </item>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </accountAttributeSet>
2017/07/16 19:25:50 [DEBUG] plugin: terraform: </DescribeAccountAttributesResponse>
2017/07/16 19:25:50 [DEBUG] dag/walk: walking "aws_iam_role.test"
2017/07/16 19:25:50 [DEBUG] vertex 'root.aws_iam_role.test': walking
2017/07/16 19:25:50 [DEBUG] dag/walk: walking "aws_ecr_repository.test"
2017/07/16 19:25:50 [DEBUG] vertex 'root.aws_ecr_repository.test': walking
2017/07/16 19:25:50 [DEBUG] vertex 'root.aws_iam_role.test': evaluating
2017/07/16 19:25:50 [DEBUG] vertex 'root.aws_ecr_repository.test': evaluating
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:50 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:50 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalApply
2017/07/16 19:25:50 [DEBUG] apply: aws_ecr_repository.test: executing Apply
2017/07/16 19:25:50 [DEBUG] root: eval: *terraform.EvalApply
2017/07/16 19:25:50 [DEBUG] apply: aws_iam_role.test: executing Apply
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] No meta timeoutkey found in Apply()
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] Creating ECR resository: {
2017/07/16 19:25:50 [DEBUG] plugin: terraform: RepositoryName: "test-ecr-attach-policy-bug"
2017/07/16 19:25:50 [DEBUG] plugin: terraform: }
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] No meta timeoutkey found in Apply()
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] Waiting for state to become: [success]
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/CreateRepository Details:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Host: ecr.us-east-1.amazonaws.com
2017/07/16 19:25:50 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Content-Length: 47
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=d3f412cea1262c9321e7e4164e988eb37a716601fb6fc7c89dbba7ad9415f92f
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:50 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172550Z
2017/07/16 19:25:50 [DEBUG] plugin: terraform: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.CreateRepository
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:50 [DEBUG] plugin: terraform:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: {"repositoryName":"test-ecr-attach-policy-bug"}
2017/07/16 19:25:50 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:50 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreateRole Details:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:50 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/07/16 19:25:50 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Content-Length: 398
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=bdd1a9da177883598cc8a5093baa5b76d230410352efc2d7e225d123c8921d64
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:50 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172550Z
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:50 [DEBUG] plugin: terraform:
2017/07/16 19:25:50 [DEBUG] plugin: terraform: Action=CreateRole&AssumeRolePolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%0A++++%7B%0A++++++%22Action%22%3A+%22sts%3AAssumeRole%22%2C%0A++++++%22Effect%22%3A+%22Allow%22%2C%0A++++++%22Principal%22%3A+%7B%0A++++++++%22Service%22%3A+%22ec2.amazonaws.com%22%0A++++++%7D%0A++++%7D%0A++%5D%0A%7D%0A&Path=%2F&RoleName=test-ecr-attach-policy-bug&Version=2010-05-08
2017/07/16 19:25:50 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/CreateRepository Details:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Length: 297
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:51 GMT
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Server: Server
2017/07/16 19:25:51 [DEBUG] plugin: terraform: X-Amzn-Requestid: d083334b-6a4b-11e7-a148-c13c26f5bf70
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] {"repository":{"createdAt":1.500225951E9,"registryId":"146845887707","repositoryArn":"arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug","repositoryName":"test-ecr-attach-policy-bug","repositoryUri":"146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"}}
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] ECR repository created: "arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug"
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] Reading repository test-ecr-attach-policy-bug
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/DescribeRepositories Details:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Host: ecr.us-east-1.amazonaws.com
2017/07/16 19:25:51 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Length: 50
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=17f308b1f5ec9986eef4e2d7121585cea3e43e882613403bdd984ffc12aea622
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:51 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172551Z
2017/07/16 19:25:51 [DEBUG] plugin: terraform: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.DescribeRepositories
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: {"repositoryNames":["test-ecr-attach-policy-bug"]}
2017/07/16 19:25:51 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreateRole Details:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Length: 972
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:51 GMT
2017/07/16 19:25:51 [DEBUG] plugin: terraform: X-Amzn-Requestid: d08778e3-6a4b-11e7-9b06-b9c5de7faed8
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] <CreateRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <CreateRoleResult>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <Role>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <Path>/</Path>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <AssumeRolePolicyDocument>%7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22Action%22%3A%20%22sts%3AAssumeRole%22%2C%0A%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%22Principal%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22Service%22%3A%20%22ec2.amazonaws.com%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D%0A</AssumeRolePolicyDocument>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <RoleId>AROAJWHSTXRC2KAR6VQGS</RoleId>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <RoleName>test-ecr-attach-policy-bug</RoleName>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug</Arn>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <CreateDate>2017-07-16T17:25:51.202Z</CreateDate>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: </Role>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: </CreateRoleResult>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: <RequestId>d08778e3-6a4b-11e7-9b06-b9c5de7faed8</RequestId>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: </CreateRoleResponse>
2017/07/16 19:25:51 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:51 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:51 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/07/16 19:25:51 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Length: 69
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=7d374d88500f495c6ad94fa7f9b68d68e1054030acb1a50cd5e9e325101a6c58
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/07/16 19:25:51 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172551Z
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:51 [DEBUG] plugin: terraform:
2017/07/16 19:25:51 [DEBUG] plugin: terraform: Action=GetRole&RoleName=test-ecr-attach-policy-bug&Version=2010-05-08
2017/07/16 19:25:51 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:51 [DEBUG] dag/walk: vertex "root", waiting for: "provider.aws (close)"
2017/07/16 19:25:51 [DEBUG] dag/walk: vertex "provider.aws (close)", waiting for: "aws_ecr_repository_policy.test"
2017/07/16 19:25:51 [DEBUG] dag/walk: vertex "meta.count-boundary (count boundary fixup)", waiting for: "aws_ecr_repository_policy.test"
2017/07/16 19:25:51 [DEBUG] dag/walk: vertex "aws_ecr_repository_policy.test", waiting for: "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:51 [DEBUG] dag/walk: vertex "data.aws_iam_policy_document.describe_ecr_images", waiting for: "aws_iam_role.test"
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:52 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Length: 764
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:51 GMT
2017/07/16 19:25:52 [DEBUG] plugin: terraform: X-Amzn-Requestid: d11f9a4b-6a4b-11e7-9579-17ab460a8d90
2017/07/16 19:25:52 [DEBUG] plugin: terraform:
2017/07/16 19:25:52 [DEBUG] plugin: terraform:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] [aws-sdk-go] <GetRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <GetRoleResult>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <Role>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <Path>/</Path>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <AssumeRolePolicyDocument>%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22ec2.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D</AssumeRolePolicyDocument>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <RoleId>AROAJWHSTXRC2KAR6VQGS</RoleId>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <RoleName>test-ecr-attach-policy-bug</RoleName>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <Arn>arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug</Arn>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <CreateDate>2017-07-16T17:25:51Z</CreateDate>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: </Role>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: </GetRoleResult>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <ResponseMetadata>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: <RequestId>d11f9a4b-6a4b-11e7-9579-17ab460a8d90</RequestId>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: </ResponseMetadata>
2017/07/16 19:25:52 [DEBUG] plugin: terraform: </GetRoleResponse>
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/16 19:25:52 [DEBUG] dag/walk: walking "data.aws_iam_policy_document.describe_ecr_images"
2017/07/16 19:25:52 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': walking
2017/07/16 19:25:52 [DEBUG] vertex 'root.data.aws_iam_policy_document.describe_ecr_images': evaluating
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:52 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadDataDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadDataApply
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/DescribeRepositories Details:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:52 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Length: 301
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:52 GMT
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Server: Server
2017/07/16 19:25:52 [DEBUG] plugin: terraform: X-Amzn-Requestid: d11fc0a2-6a4b-11e7-b934-25e3d700550b
2017/07/16 19:25:52 [DEBUG] plugin: terraform:
2017/07/16 19:25:52 [DEBUG] plugin: terraform:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] [aws-sdk-go] {"repositories":[{"createdAt":1.500225951E9,"registryId":"146845887707","repositoryArn":"arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug","repositoryName":"test-ecr-attach-policy-bug","repositoryUri":"146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"}]}
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] Received repository {
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Repositories: [{
2017/07/16 19:25:52 [DEBUG] plugin: terraform: CreatedAt: 2017-07-16 17:25:51 +0000 UTC,
2017/07/16 19:25:52 [DEBUG] plugin: terraform: RegistryId: "146845887707",
2017/07/16 19:25:52 [DEBUG] plugin: terraform: RepositoryArn: "arn:aws:ecr:us-east-1:146845887707:repository/test-ecr-attach-policy-bug",
2017/07/16 19:25:52 [DEBUG] plugin: terraform: RepositoryName: "test-ecr-attach-policy-bug",
2017/07/16 19:25:52 [DEBUG] plugin: terraform: RepositoryUri: "146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug"
2017/07/16 19:25:52 [DEBUG] plugin: terraform: }]
2017/07/16 19:25:52 [DEBUG] plugin: terraform: }
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [INFO] Setting the repository url to be 146845887707.dkr.ecr.us-east-1.amazonaws.com/test-ecr-attach-policy-bug
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalUpdateStateHook
2017/07/16 19:25:52 [DEBUG] dag/walk: walking "aws_ecr_repository_policy.test"
2017/07/16 19:25:52 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': walking
2017/07/16 19:25:52 [DEBUG] vertex 'root.aws_ecr_repository_policy.test': evaluating
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:52 [DEBUG] root: eval: terraform.EvalNoop
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApplyPre
2017/07/16 19:25:52 [DEBUG] root: eval: *terraform.EvalApply
2017/07/16 19:25:52 [DEBUG] apply: aws_ecr_repository_policy.test: executing Apply
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] No meta timeoutkey found in Apply()
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] Creating ECR resository policy: {
2017/07/16 19:25:52 [DEBUG] plugin: terraform: PolicyText: "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:DescribeImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}",
2017/07/16 19:25:52 [DEBUG] plugin: terraform: RepositoryName: "test-ecr-attach-policy-bug"
2017/07/16 19:25:52 [DEBUG] plugin: terraform: }
2017/07/16 19:25:52 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:52 [DEBUG] [aws-sdk-go] DEBUG: Request ecr/SetRepositoryPolicy Details:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/16 19:25:52 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Host: ecr.us-east-1.amazonaws.com
2017/07/16 19:25:52 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Length: 360
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIB772XS2MS2BEGVA/20170716/us-east-1/ecr/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=0bcbfae3cea34088fdc58e235bab1f52358d017706d51122b85be44b02a9870c
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:52 [DEBUG] plugin: terraform: X-Amz-Date: 20170716T172552Z
2017/07/16 19:25:52 [DEBUG] plugin: terraform: X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy
2017/07/16 19:25:52 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/07/16 19:25:52 [DEBUG] plugin: terraform:
2017/07/16 19:25:52 [DEBUG] plugin: terraform: {"policyText":"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DescribeImages\",\n \"Effect\": \"Allow\",\n \"Action\": \"ecr:DescribeImages\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::146845887707:role/test-ecr-attach-policy-bug\"\n }\n }\n ]\n}","repositoryName":"test-ecr-attach-policy-bug"}
2017/07/16 19:25:52 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:53 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:53 [DEBUG] [aws-sdk-go] DEBUG: Response ecr/SetRepositoryPolicy Details:
2017/07/16 19:25:53 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/16 19:25:53 [DEBUG] plugin: terraform: HTTP/1.1 400 Bad Request
2017/07/16 19:25:53 [DEBUG] plugin: terraform: Connection: close
2017/07/16 19:25:53 [DEBUG] plugin: terraform: Content-Length: 151
2017/07/16 19:25:53 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.1
2017/07/16 19:25:53 [DEBUG] plugin: terraform: Date: Sun, 16 Jul 2017 17:25:53 GMT
2017/07/16 19:25:53 [DEBUG] plugin: terraform: Server: Server
2017/07/16 19:25:53 [DEBUG] plugin: terraform: X-Amzn-Requestid: d1a4817f-6a4b-11e7-a529-054be1aa8478
2017/07/16 19:25:53 [DEBUG] plugin: terraform:
2017/07/16 19:25:53 [DEBUG] plugin: terraform:
2017/07/16 19:25:53 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/16 19:25:53 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:53 [DEBUG] [aws-sdk-go] {"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalIf
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalWriteState
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/07/16 19:25:53 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/07/16 19:25:53 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* aws_ecr_repository_policy.test: InvalidParameterException: Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'
status code: 400, request id: d1a4817f-6a4b-11e7-a529-054be1aa8478
2017/07/16 19:25:53 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* aws_ecr_repository_policy.test: InvalidParameterException: Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'
status code: 400, request id: d1a4817f-6a4b-11e7-a529-054be1aa8478
2017/07/16 19:25:53 [TRACE] [walkApply] Exiting eval tree: aws_ecr_repository_policy.test
2017/07/16 19:25:53 [DEBUG] dag/walk: upstream errored, not walking "provider.aws (close)"
2017/07/16 19:25:53 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2017/07/16 19:25:53 [DEBUG] dag/walk: upstream errored, not walking "root"
2017/07/16 19:25:53 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/07/16 19:25:53 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/16 19:25:53 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/07/16 19:25:53 [DEBUG] plugin: /home/frncmx/bin/terraform: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment