Sha256: 2e5d4c887ec75e8f3fca0c3a582a175edc20f61e364d1e73f2bce8cacd0de54f
Contents?: true
Size: 960 Bytes
Versions: 18
Compression:
Stored size: 960 Bytes
Contents
<% route_tables.each do |route_table| -%> resource "aws_route_table" "<%= module_name_of(route_table) %>" { vpc_id = "<%= route_table.vpc_id %>" <% routes_of(route_table).each do |route| -%> route { cidr_block = "<%= route.destination_cidr_block %>" <% if route.gateway_id -%> gateway_id = "<%= route.gateway_id %>" <% end -%> <% if route.instance_id -%> instance_id = "<%= route.instance_id %>" <% end -%> <% if route.vpc_peering_connection_id -%> vpc_peering_connection_id = "<%= route.vpc_peering_connection_id %>" <% end -%> <% if route.network_interface_id -%> network_interface_id = "<%= route.network_interface_id %>" <% end -%> } <% end -%> <% if route_table.propagating_vgws.any? -%> propagating_vgws = <%= propagaving_vgws_of(route_table).inspect %> <% end -%> tags { <% route_table.tags.each do |tag| -%> "<%= tag.key %>" = "<%= tag.value %>" <% end -%> } } <% end -%>
Version data entries
18 entries across 18 versions & 2 rubygems