dtan4/terraforming

View on GitHub
lib/terraforming/template/tf/route_table_association.erb

Summary

Maintainability
Test Coverage
<% route_tables.each do |route_table| -%>
<% associations_of(route_table).each do |assoc| -%>
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 -%>