Sha256: 12051fdecc00c936ef4de3597ba75b93758909ba613da22b9d2e1a4f7148b7f3

Contents?: true

Size: 423 Bytes

Versions: 34

Compression:

Stored size: 423 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

34 entries across 34 versions & 2 rubygems

Version Path
terraforming-0.5.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.4.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.3.2 lib/terraforming/template/tf/vpc.erb
terraforming-0.3.1 lib/terraforming/template/tf/vpc.erb
terraforming-0.3.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.2.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.6 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.5 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.4 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.3 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.2 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.1 lib/terraforming/template/tf/vpc.erb
terraforming-0.1.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.0.5 lib/terraforming/template/tf/vpc.erb