Skip to content

Instantly share code, notes, and snippets.

@dgolja
Created March 20, 2017 09:36
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 dgolja/5314fe2bda5c70c043f98a88ba9c1e06 to your computer and use it in GitHub Desktop.
Save dgolja/5314fe2bda5c70c043f98a88ba9c1e06 to your computer and use it in GitHub Desktop.
terraform aws_iam_role_policy failure
2017/03/20 20:35:45 [TRACE] [walkValidate] Exiting eval tree: module.server.aws_iam_role_policy.s3ServerPolicy
2017/03/20 20:35:45 [DEBUG] vertex 'root.module.server.aws_instance.server': evaluating
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalIf
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalValidateCount
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalCountFixZeroOneBoundary
2017/03/20 20:35:45 [DEBUG] Attaching resource state to "module.server.aws_instance.server": &terraform.ResourceState{Type:"aws_instance", Dependencies:[]string{"aws_iam_instance_profile.server_profile", "aws_security_group.server_sg", "data.aws_ami.ubuntu"}, Primary:(*terraform.InstanceState)(0xc420013810), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/03/20 20:35:45 [DEBUG] ReferenceTransformer: "module.server.aws_instance.server" references: []
2017/03/20 20:35:45 [DEBUG] dag/walk: added new vertex: "module.server.aws_instance.server"
2017/03/20 20:35:45 [DEBUG] dag/walk: walking "module.server.aws_instance.server"
2017/03/20 20:35:45 [DEBUG] vertex 'root.server.module.server.aws_instance.server': walking
2017/03/20 20:35:45 [DEBUG] vertex 'root.server.module.server.aws_instance.server': evaluating
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalGetProvider
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalInterpolate
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalValidateResource
2017/03/20 20:35:45 [DEBUG] dag/walk: walking "root"
2017/03/20 20:35:45 [DEBUG] vertex 'root.root': walking
2017/03/20 20:35:45 [DEBUG] plugin: waiting for all plugin processes to complete...
2 error(s) occurred:
2017/03/20 20:35:45 [DEBUG] plugin: terraform: aws-provider (internal) 2017/03/20 20:35:45 [DEBUG] plugin: waiting for all plugin processes to complete...
* module.server.aws_iam_role_policy.s3ServerPolicy: "name": required field is not set
* module.server.aws_iam_role_policy.s3ServerPolicy: : invalid or unknown key: name_prefix
2017/03/20 20:35:45 [DEBUG] plugin: /usr/local/Cellar/terraform/0.9.0/bin/terraform: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment