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:
commit
773cfc8e8e
|
@ -30,6 +30,7 @@ func resourceAwsSnsTopicPolicy() *schema.Resource {
|
|||
"policy": {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ValidateFunc: validateJsonString,
|
||||
DiffSuppressFunc: suppressEquivalentAwsPolicyDiffs,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue