Sha256: 64b7d894ee97d17d4dd39a594f4e35625f7eabbf26e588d422e31cc386615484

Contents?: true

Size: 820 Bytes

Versions: 16

Compression:

Stored size: 820 Bytes

Contents

<% queues.each do |queue| -%>
resource "aws_sqs_queue" "<%= module_name_of(queue) %>" {
    name                       = "<%= module_name_of(queue) %>"
    visibility_timeout_seconds = <%= queue["VisibilityTimeout"] %>
    message_retention_seconds  = <%= queue["MessageRetentionPeriod"] %>
    max_message_size           = <%= queue["MaximumMessageSize"] %>
    delay_seconds              = <%= queue["DelaySeconds"] %>
    receive_wait_time_seconds  = <%= queue["ReceiveMessageWaitTimeSeconds"] %>
<% if queue.key? "Policy" -%>
    policy                     = <<POLICY
<%= prettify_policy(queue["Policy"], unescape: true) %>
POLICY
<% end -%>
<% if queue.key? "RedrivePolicy" -%>
    redrive_policy             = <<POLICY
<%= prettify_policy(queue["RedrivePolicy"], unescape: true) %>
POLICY
<% end -%>
}

<% end -%>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
terraforming-0.18.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.17.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.16.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.15.0 lib/terraforming/template/tf/sqs.erb
aws-insight-0.14.1 lib/terraforming/template/tf/sqs.erb
aws-insight-0.14.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.14.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.13.2 lib/terraforming/template/tf/sqs.erb
terraforming-0.13.1 lib/terraforming/template/tf/sqs.erb
terraforming-0.13.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.12.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.11.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.10.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.9.1 lib/terraforming/template/tf/sqs.erb
terraforming-0.9.0 lib/terraforming/template/tf/sqs.erb
terraforming-0.8.0 lib/terraforming/template/tf/sqs.erb