mirror of https://github.com/hashicorp/terraform
Validate `effect` in aws_iam_policy_document data source (#10608)
AWS allows only the case-sensitive strings `Allow` and `Deny` to appear in the `Effect` fields of IAM policy documents. Catch deviations from this, including mis-casing, before hitting the API and generating an error (the error is a generic 400 and doesn't indicate what part of the policy doc is invalid).pull/10450/merge
parent
9801c65c9e
commit
195b041cd5
Loading…
Reference in new issue