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.18.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.17.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.16.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.15.0 lib/terraforming/template/tf/vpc.erb
aws-insight-0.14.1 lib/terraforming/template/tf/vpc.erb
aws-insight-0.14.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.14.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.13.2 lib/terraforming/template/tf/vpc.erb
terraforming-0.13.1 lib/terraforming/template/tf/vpc.erb
terraforming-0.13.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.12.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.11.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.10.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.9.1 lib/terraforming/template/tf/vpc.erb
terraforming-0.9.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.8.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.7.0 lib/terraforming/template/tf/vpc.erb
terraforming-0.6.2 lib/terraforming/template/tf/vpc.erb
terraforming-0.6.1 lib/terraforming/template/tf/vpc.erb
terraforming-0.6.0 lib/terraforming/template/tf/vpc.erb