Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Terraform debug output for Issue terraform-providers/terraform-provider-aws#5315
2018/07/24 15:01:38 [INFO] Terraform version: 0.11.7
2018/07/24 15:01:38 [INFO] Go runtime version: go1.10.1
2018/07/24 15:01:38 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "validate"}
2018/07/24 15:01:38 [DEBUG] Attempting to open CLI config file: /Users/jeremy.avnet/.terraformrc
2018/07/24 15:01:38 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/07/24 15:01:38 [INFO] CLI command args: []string{"validate"}
2018/07/24 15:01:38 [DEBUG] checking for provider in "."
2018/07/24 15:01:38 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/07/24 15:01:38 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2018/07/24 15:01:38 [DEBUG] found provider "terraform-provider-aws_v1.28.0_x4"
2018/07/24 15:01:38 [DEBUG] found provider "terraform-provider-template_v1.0.0_x4"
2018/07/24 15:01:38 [DEBUG] found valid plugin: "aws", "1.28.0", "/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.28.0_x4"
2018/07/24 15:01:38 [DEBUG] found valid plugin: "template", "1.0.0", "/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-template_v1.0.0_x4"
2018/07/24 15:01:38 [DEBUG] checking for provisioner in "."
2018/07/24 15:01:38 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/07/24 15:01:38 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2018/07/24 15:01:38 [DEBUG] New state was assigned lineage "7a4bf070-4cf9-fc4f-e74b-9a023af44fd4"
2018/07/24 15:01:38 [INFO] terraform: building graph: GraphTypeValidate
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.data.aws_iam_account_alias.current": module.private_bucket.data.aws_iam_account_alias.current
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.data.aws_iam_policy_document.policy": module.private_bucket.data.aws_iam_policy_document.policy
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.aws_s3_bucket.private_bucket": module.private_bucket.aws_s3_bucket.private_bucket
2018/07/24 15:01:38 [DEBUG] resource module.private_bucket.data.aws_iam_account_alias.current using provider provider.aws
2018/07/24 15:01:38 [DEBUG] resource module.private_bucket.data.aws_iam_policy_document.policy using provider provider.aws
2018/07/24 15:01:38 [DEBUG] pruning unused provider provider.template
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.var.logging_bucket" references: []
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.data.aws_iam_account_alias.current" references: []
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.data.aws_iam_policy_document.policy" references: [module.private_bucket.local.bucket_id module.private_bucket.var.custom_bucket_policy]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.local.logging_config" references: [module.private_bucket.var.logging_bucket module.private_bucket.local.bucket_id]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.var.bucket" references: []
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.var.custom_bucket_policy" references: []
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.aws_s3_bucket.private_bucket" references: [module.private_bucket.data.aws_iam_policy_document.policy module.private_bucket.local.bucket_id module.private_bucket.local.logging_config module.private_bucket.var.logging_bucket module.private_bucket.var.tags]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.local.bucket_id" references: [module.private_bucket.data.aws_iam_account_alias.current module.private_bucket.var.bucket]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.output.id" references: [module.private_bucket.aws_s3_bucket.private_bucket]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.output.arn" references: [module.private_bucket.aws_s3_bucket.private_bucket]
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.var.tags" references: []
dule.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
dule.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.local.logging_config - *terraform.NodeLocal
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.output.arn - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.output.id - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.custom_bucket_policy - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
rivate_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.local.logging_config - *terraform.NodeLocal
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.output.arn - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.output.id - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.custom_bucket_policy - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
dule.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.local.logging_config - *terraform.NodeLocal
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.output.arn - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.output.id - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.custom_bucket_policy - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_policy_document.policy - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.local.logging_config - *terraform.NodeLocal
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.output.arn - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.output.id - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.custom_bucket_policy - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_policy_document.policy - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
ate_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.local.logging_config - *terraform.NodeLocal
module.private_bucket.local.bucket_id - *terraform.NodeLocal
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.output.arn - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.output.id - *terraform.NodeApplyableOutput
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.var.bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.custom_bucket_policy - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.logging_bucket - *terraform.NodeApplyableModuleVariable
module.private_bucket.var.tags - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResource
module.private_bucket.data.aws_iam_policy_document.policy - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.aws (close) - *terraform.graphNodeCloseProvider
- *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.aws (close) - *terraform.graphNodeCloseProvider
2018/07/24 15:01:38 [DEBUG] Starting graph walk: walkValidate
2018-07-24T15:01:38.423-0700 [DEBUG] plugin: starting plugin: path=/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.28.0_x4 args=[/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.28.0_x4]
2018-07-24T15:01:38.434-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.28.0_x4
2018-07-24T15:01:38.443-0700 [DEBUG] plugin.terraform-provider-aws_v1.28.0_x4: plugin address: timestamp=2018-07-24T15:01:38.443-0700 address=/var/folders/tk/7j1kfx411hz9phnb71fdjn_x_8y469/T/plugin071121810 network=unix
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.data.aws_iam_account_alias.current": module.private_bucket.data.aws_iam_account_alias.current
2018/07/24 15:01:38 [TRACE] Graph after step *terraform.AttachStateTransformer:
module.private_bucket.data.aws_iam_account_alias.current - *terraform.NodeValidatableResourceInstance
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.data.aws_iam_account_alias.current" references: []
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.data.aws_iam_policy_document.policy": module.private_bucket.data.aws_iam_policy_document.policy
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.data.aws_iam_policy_document.policy" references: []
2018/07/24 15:01:38 [DEBUG] Resource state not found for "module.private_bucket.aws_s3_bucket.private_bucket": module.private_bucket.aws_s3_bucket.private_bucket
2018/07/24 15:01:38 [TRACE] Graph after step *terraform.AttachStateTransformer:
module.private_bucket.aws_s3_bucket.private_bucket - *terraform.NodeValidatableResourceInstance
2018/07/24 15:01:38 [DEBUG] ReferenceTransformer: "module.private_bucket.aws_s3_bucket.private_bucket" references: []
2018/07/24 15:01:38 [ERROR] root.private_bucket: eval: *terraform.EvalValidateResource, err: Warnings: []. Errors: [logging: should be a list]
2018/07/24 15:01:38 [ERROR] root.private_bucket: eval: *terraform.EvalSequence, err: Warnings: []. Errors: [logging: should be a list]
2018/07/24 15:01:38 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: module.private_bucket.aws_s3_bucket.private_bucket: logging: should be a list
2018-07-24T15:01:38.491-0700 [DEBUG] plugin: plugin process exited: path=/Users/jeremy.avnet/src/trussworks/blah/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.28.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.