Sha256: 2ecb4e2f4ea23e530176387bbe4ac9e18c2c6a156a5e5e8edc648da9f02922ef

Contents?: true

Size: 417 Bytes

Versions: 16

Compression:

Stored size: 417 Bytes

Contents

<% vpn_gateways.each do |vpn_gateway| -%>
<% unless vpn_gateway.vpc_attachments.empty? -%>
resource "aws_vpn_gateway" "<%= module_name_of(vpn_gateway) %>" {
    vpc_id = "<%= vpn_gateway.vpc_attachments[0].vpc_id %>"
    availability_zone = "<%= vpn_gateway.availability_zone %>"
    tags {
<% vpn_gateway.tags.each do |tag| -%>
        "<%= tag.key %>" = "<%= tag.value %>"
<% end -%>
    }
}

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

Version data entries

16 entries across 16 versions & 2 rubygems

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