Sha256: c66356d71c50309b27f390f7917d75c9a1a03c0708cb37627344815384147757

Contents?: true

Size: 485 Bytes

Versions: 7

Compression:

Stored size: 485 Bytes

Contents

<% topics.each do |topic| -%>
resource "aws_sns_topic" "<%= module_name_of(topic) %>" {
  name            = "<%= module_name_of(topic) %>"
  display_name    = "<%= topic["DisplayName"] %>"
<% if topic.key? "Policy" -%>
  policy          = <<POLICY
<%= prettify_policy(topic["Policy"], unescape: true) %>
POLICY
<% end -%>
<% if topic.key? "DeliveryPolicy" -%>
  delivery_policy = <<POLICY
<%= prettify_policy(topic["DeliveryPolicy"], unescape: true) %>
POLICY
<% end -%>
}

<% end -%>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
terraforming-0.18.0 lib/terraforming/template/tf/sns_topic.erb
terraforming-0.17.0 lib/terraforming/template/tf/sns_topic.erb
terraforming-0.16.0 lib/terraforming/template/tf/sns_topic.erb
terraforming-0.15.0 lib/terraforming/template/tf/sns_topic.erb
aws-insight-0.14.1 lib/terraforming/template/tf/sns_topic.erb
aws-insight-0.14.0 lib/terraforming/template/tf/sns_topic.erb
terraforming-0.14.0 lib/terraforming/template/tf/sns_topic.erb