Merge pull request #8903 from kwilczynski/feature/json-validation-aws_sns_topic_policy

provider/aws: Add JSON validation to the aws_sns_topic_policy resource.
This commit is contained in:
Paul Stack 2016-09-21 09:31:08 +01:00 committed by GitHub
commit 773cfc8e8e
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ func resourceAwsSnsTopicPolicy() *schema.Resource {
"policy": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateJsonString,
DiffSuppressFunc: suppressEquivalentAwsPolicyDiffs,
},
},