Merge pull request #231 from cloudskiff/fix/topic_subs_json

fix policies in topic subscription not beeing tag as jsonstring
main
Elie 2021-02-09 13:23:23 +01:00 committed by GitHub
commit 8a42dbe7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ const AwsSnsTopicSubscriptionResourceType = "aws_sns_topic_subscription"
type AwsSnsTopicSubscription struct {
Arn *string `cty:"arn" computed:"true"`
ConfirmationTimeoutInMinutes *int `cty:"confirmation_timeout_in_minutes"`
DeliveryPolicy *string `cty:"delivery_policy"`
DeliveryPolicy *string `cty:"delivery_policy" jsonstring:"true"`
Endpoint *string `cty:"endpoint"`
EndpointAutoConfirms *bool `cty:"endpoint_auto_confirms"`
FilterPolicy *string `cty:"filter_policy"`
FilterPolicy *string `cty:"filter_policy" jsonstring:"true"`
Id string `cty:"id" computed:"true"`
Protocol *string `cty:"protocol"`
RawMessageDelivery *bool `cty:"raw_message_delivery"`