Sha256: 6c857e39bfd720ff41228cdf0de12c4fbc5e76919e482d908ac48dd97ecc18ff

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

<% route_tables.each do |route_table| -%>
<% associations_of(route_table).each do |assoc| -%>
<% if assoc.subnet_id -%>
resource "aws_route_table_association" "<%= module_name_of(route_table, assoc) %>" {
    route_table_id = "<%= assoc.route_table_id %>"
    subnet_id = "<%= assoc.subnet_id %>"
}

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
terraforming-0.6.1 lib/terraforming/template/tf/route_table_association.erb
terraforming-0.6.0 lib/terraforming/template/tf/route_table_association.erb