Sha256: b5f46c8089db53b45a9f5f91e6b58bb7bf0e2dcbb18913a05df4a7863be802c7

Contents?: true

Size: 382 Bytes

Versions: 17

Compression:

Stored size: 382 Bytes

Contents

<% internet_gateways.each do |internet_gateway| -%>
<% unless internet_gateway.attachments.empty? -%>
resource "aws_internet_gateway" "<%= module_name_of(internet_gateway) %>" {
    vpc_id = "<%= internet_gateway.attachments[0].vpc_id %>"

    tags {
<% internet_gateway.tags.each do |tag| -%>
        "<%= tag.key %>" = "<%= tag.value %>"
<% end -%>
    }
}

<% end -%>
<% end -%>

Version data entries

17 entries across 17 versions & 2 rubygems

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