Skip to content

Commit

Permalink
Merge pull request #8901 from kwilczynski/feature/json-validation-aws…
Browse files Browse the repository at this point in the history
…_s3_bucket_policy

provider/aws: Add JSON validation to the aws_s3_bucket_policy resource.
  • Loading branch information
stack72 authored Sep 21, 2016
2 parents a2d9647 + 6a02bf2 commit 5753cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/providers/aws/resource_aws_s3_bucket_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func resourceAwsS3BucketPolicy() *schema.Resource {
"policy": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateJsonString,
DiffSuppressFunc: suppressEquivalentAwsPolicyDiffs,
},
},
Expand Down

0 comments on commit 5753cbe

Please sign in to comment.