Sha256: fd04fd41339e5c2639d34f1992bb9ea5072aec1bd56eeaa44b649e65d5914d55

Contents?: true

Size: 315 Bytes

Versions: 13

Compression:

Stored size: 315 Bytes

Contents

<% nat_gateways.each do |nat_gateway| -%>
<% unless nat_gateway.nat_gateway_addresses.empty? -%>
resource "aws_nat_gateway" "<%= module_name_of(nat_gateway) %>" {
    allocation_id = "<%= nat_gateway.nat_gateway_addresses[0].allocation_id %>"
    subnet_id = "<%= nat_gateway.subnet_id %>"
}

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

Version data entries

13 entries across 13 versions & 2 rubygems

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