Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
mark a field as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
uberblah committed May 8, 2017
1 parent 4ddb5e0 commit 479c05f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/terraforming/resource/sns_topic_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def tfstate
"topic_arn" => subscription["TopicArn"],
"protocol" => subscription["Protocol"],
"endpoint" => subscription["Endpoint"],
"raw_message_delivery" => subscription["RawMessageDelivery"],
"raw_message_delivery" =>
subscription.key?("RawMessageDelivery") ? subscription["RawMessageDelivery"] : "false",
"confirmation_timeout_in_minutes" =>
subscription.key?("ConfirmationTimeoutInMinutes") ? subscription["ConfirmationTimeoutInMinutes"] : "1",
"endpoint_auto_confirms" =>
Expand Down

0 comments on commit 479c05f

Please sign in to comment.