Sha256: 4b16d1f3d8877ee872e7a0f58308b63358c954764b532cebf5b26da16f68b46b

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

<% vpcs.each do |vpc| -%>
resource "aws_vpc" "<%= module_name_of(vpc) %>" {
    cidr_block           = "<%= vpc.cidr_block %>"
    enable_dns_hostnames = <%= enable_dns_hostnames?(vpc) %>
    enable_dns_support   = <%= enable_dns_support?(vpc) %>
    instance_tenancy     = "<%= vpc.instance_tenancy %>"

    tags {
<% vpc.tags.each do |tag| -%>
        <%= tag.key %> = "<%= tag.value %>"
<% end -%>
    }
}

<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
terraforming-0.0.4 lib/terraforming/template/tf/vpc.erb
terraforming-0.0.3 lib/terraforming/template/tf/vpc.erb
terraforming-0.0.2 lib/terraforming/template/tf/vpc.erb
terraforming-0.0.1 lib/terraforming/template/tf/vpc.erb