Skip to content

Instantly share code, notes, and snippets.

@texascloud
Last active April 5, 2019 01:01
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 texascloud/50a68d67721a16b45059b893aa669669 to your computer and use it in GitHub Desktop.
Save texascloud/50a68d67721a16b45059b893aa669669 to your computer and use it in GitHub Desktop.
Terraform debugging Error for aws_iam_role_policy
Error applying plan:
1 error(s) occurred:
* module.iam_profile.aws_iam_role_policy.node_iam_role_policy: 1 error(s) occurred:
* aws_iam_role_policy.node_iam_role_policy: Error reading IAM policy node_iam_role_policy-7b2e3255-0e25-4f33-9982-c78f22c1dd78 from role node_iam_role-7b2e3255-0e25-4f33-9982-c78f22c1dd78: SerializationError: failed decoding Query response
status code: 200, request id: 8cbed960-c3da-4744-aba2-0887d25e1893
caused by: unexpected EOF
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment