Skip to content

Instantly share code, notes, and snippets.

@robison
Created August 5, 2019 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robison/e287324916c2db0f3d482459c2eb5db1 to your computer and use it in GitHub Desktop.
Save robison/e287324916c2db0f3d482459c2eb5db1 to your computer and use it in GitHub Desktop.
2019/08/05 11:07:44 [INFO] Terraform version: 0.12.6
2019/08/05 11:07:44 [INFO] Go runtime version: go1.12.4
2019/08/05 11:07:44 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2019/08/05 11:07:44 [DEBUG] Attempting to open CLI config file: /Users/robison/.terraformrc
2019/08/05 11:07:44 Loading CLI configuration from /Users/robison/.terraformrc
2019/08/05 11:07:44 [INFO] CLI command args: []string{"init"}
panic: inconsistent list element types (cty.Object(map[string]cty.Type{"name":cty.String, "records":cty.List(cty.String), "ttl":cty.Number, "type":cty.String}) then cty.Object(map[string]cty.Type{"name":cty.String, "records":cty.List(cty.String), "ttl":cty.DynamicPseudoType, "type":cty.String}))
goroutine 1 [running]:
github.com/zclconf/go-cty/cty.ListVal(0xc00009f7a0, 0x3, 0x3, 0xc0004d1ef0, 0xc0004a59f0, 0x1, 0x1)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/value_init.go:166 +0x4bf
github.com/zclconf/go-cty/cty/convert.conversionTupleToList.func2(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0xc0004a59f0, 0x1, 0x1, 0x446d008, 0x0, 0x100be98, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion_collection.go:267 +0x54a
github.com/zclconf/go-cty/cty/convert.getConversion.func1(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0x0, 0x0, 0x0, 0xc000485500, 0xc0004a59e0, 0x2e277a0, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion.go:34 +0xef
github.com/zclconf/go-cty/cty/convert.retConversion.func1(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0xc0004a59e0, 0x0, 0x0, 0x3, 0x2, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion.go:141 +0x6b
github.com/zclconf/go-cty/cty/convert.Convert(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0x2e277a0, 0xc0004a57b0, 0x0, 0x0, 0x0, 0xc0004ce580, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/public.go:51 +0x1af
github.com/hashicorp/terraform/configs.decodeVariableBlock(0xc00009bc70, 0x0, 0x29a61f1, 0x8, 0x1, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/named_values.go:107 +0x5c8
github.com/hashicorp/terraform/configs.(*Parser).loadConfigFile(0xc000484d40, 0xc0001b2779, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config.go:89 +0x1a94
github.com/hashicorp/terraform/configs.(*Parser).LoadConfigFile(...)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config.go:22
github.com/hashicorp/terraform/configs.(*Parser).loadFiles(0xc000484d40, 0xc0004a5210, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config_dir.go:77 +0x343
github.com/hashicorp/terraform/configs.(*Parser).LoadConfigDir(0xc000484d40, 0x299eb4d, 0x1, 0x0, 0x1, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config_dir.go:37 +0x121
github.com/hashicorp/terraform/command.(*Meta).loadSingleModule(0xc0002f9d40, 0x299eb4d, 0x1, 0x0, 0x0, 0x0, 0xe)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/meta_config.go:113 +0x136
github.com/hashicorp/terraform/command.(*InitCommand).Run(0xc0002f9d40, 0xc00000c0d0, 0x0, 0x0, 0xc0004a4bb0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/init.go:181 +0xad4
github.com/mitchellh/cli.(*CLI).Run(0xc00027a8c0, 0xc00027a8c0, 0xc00053fd90, 0x1)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/mitchellh/cli@v1.0.0/cli.go:255 +0x1f1
main.wrappedMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:223 +0xaff
main.realMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:100 +0xb4
main.main()
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:36 +0x3b
panic: inconsistent list element types (cty.Object(map[string]cty.Type{"name":cty.String, "records":cty.List(cty.String), "ttl":cty.Number, "type":cty.String}) then cty.Object(map[string]cty.Type{"name":cty.String, "records":cty.List(cty.String), "ttl":cty.DynamicPseudoType, "type":cty.String}))
goroutine 1 [running]:
github.com/zclconf/go-cty/cty.ListVal(0xc00009f7a0, 0x3, 0x3, 0xc0004d1ef0, 0xc0004a59f0, 0x1, 0x1)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/value_init.go:166 +0x4bf
github.com/zclconf/go-cty/cty/convert.conversionTupleToList.func2(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0xc0004a59f0, 0x1, 0x1, 0x446d008, 0x0, 0x100be98, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion_collection.go:267 +0x54a
github.com/zclconf/go-cty/cty/convert.getConversion.func1(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0x0, 0x0, 0x0, 0xc000485500, 0xc0004a59e0, 0x2e277a0, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion.go:34 +0xef
github.com/zclconf/go-cty/cty/convert.retConversion.func1(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0xc0004a59e0, 0x0, 0x0, 0x3, 0x2, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/conversion.go:141 +0x6b
github.com/zclconf/go-cty/cty/convert.Convert(0x2e278a0, 0xc000485320, 0x25cba80, 0xc000485340, 0x2e277a0, 0xc0004a57b0, 0x0, 0x0, 0x0, 0xc0004ce580, ...)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/zclconf/go-cty@v1.0.1-0.20190708163926-19588f92a98f/cty/convert/public.go:51 +0x1af
github.com/hashicorp/terraform/configs.decodeVariableBlock(0xc00009bc70, 0x0, 0x29a61f1, 0x8, 0x1, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/named_values.go:107 +0x5c8
github.com/hashicorp/terraform/configs.(*Parser).loadConfigFile(0xc000484d40, 0xc0001b2779, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config.go:89 +0x1a94
github.com/hashicorp/terraform/configs.(*Parser).LoadConfigFile(...)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config.go:22
github.com/hashicorp/terraform/configs.(*Parser).loadFiles(0xc000484d40, 0xc0004a5210, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config_dir.go:77 +0x343
github.com/hashicorp/terraform/configs.(*Parser).LoadConfigDir(0xc000484d40, 0x299eb4d, 0x1, 0x0, 0x1, 0x0, 0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/configs/parser_config_dir.go:37 +0x121
github.com/hashicorp/terraform/command.(*Meta).loadSingleModule(0xc0002f9d40, 0x299eb4d, 0x1, 0x0, 0x0, 0x0, 0xe)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/meta_config.go:113 +0x136
github.com/hashicorp/terraform/command.(*InitCommand).Run(0xc0002f9d40, 0xc00000c0d0, 0x0, 0x0, 0xc0004a4bb0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/command/init.go:181 +0xad4
github.com/mitchellh/cli.(*CLI).Run(0xc00027a8c0, 0xc00027a8c0, 0xc00053fd90, 0x1)
/opt/teamcity-agent/work/9e329aa031982669/pkg/mod/github.com/mitchellh/cli@v1.0.0/cli.go:255 +0x1f1
main.wrappedMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:223 +0xaff
main.realMain(0x0)
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:100 +0xb4
main.main()
/opt/teamcity-agent/work/9e329aa031982669/src/github.com/hashicorp/terraform/main.go:36 +0x3b
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment