-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally, Terraform 0.12 support (#266)
- Loading branch information
1 parent
3d33b1f
commit 4ae9806
Showing
26 changed files
with
1,239 additions
and
561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ module "vpc" { | |
enable_s3_endpoint = true | ||
enable_dynamodb_endpoint = true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# VPC | ||
output "vpc_id" { | ||
description = "The ID of the VPC" | ||
value = "${module.vpc.vpc_id}" | ||
value = module.vpc.vpc_id | ||
} | ||
|
||
# Subnets | ||
output "private_subnets" { | ||
description = "List of IDs of private subnets" | ||
value = ["${module.vpc.private_subnets}"] | ||
value = module.vpc.private_subnets | ||
} | ||
|
||
output "public_subnets" { | ||
description = "List of IDs of public subnets" | ||
value = ["${module.vpc.public_subnets}"] | ||
value = module.vpc.public_subnets | ||
} | ||
|
||
output "database_subnets" { | ||
description = "List of IDs of database subnets" | ||
value = ["${module.vpc.database_subnets}"] | ||
value = module.vpc.database_subnets | ||
} | ||
|
||
output "elasticache_subnets" { | ||
description = "List of IDs of elasticache subnets" | ||
value = ["${module.vpc.elasticache_subnets}"] | ||
value = module.vpc.elasticache_subnets | ||
} | ||
|
||
# NAT gateways | ||
output "nat_public_ips" { | ||
description = "List of public Elastic IPs created for AWS NAT Gateway" | ||
value = ["${module.vpc.nat_public_ips}"] | ||
value = module.vpc.nat_public_ips | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ module "vpc" { | |
Name = "asymmetrical" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# VPC | ||
output "vpc_id" { | ||
description = "The ID of the VPC" | ||
value = "${module.vpc.vpc_id}" | ||
value = module.vpc.vpc_id | ||
} | ||
|
||
# Subnets | ||
output "private_subnets" { | ||
description = "List of IDs of private subnets" | ||
value = ["${module.vpc.private_subnets}"] | ||
value = module.vpc.private_subnets | ||
} | ||
|
||
output "public_subnets" { | ||
description = "List of IDs of public subnets" | ||
value = ["${module.vpc.public_subnets}"] | ||
value = module.vpc.public_subnets | ||
} | ||
|
||
output "database_subnets" { | ||
description = "List of IDs of database subnets" | ||
value = ["${module.vpc.database_subnets}"] | ||
value = module.vpc.database_subnets | ||
} | ||
|
||
output "elasticache_subnets" { | ||
description = "List of IDs of elasticache subnets" | ||
value = ["${module.vpc.elasticache_subnets}"] | ||
value = module.vpc.elasticache_subnets | ||
} | ||
|
||
# NAT gateways | ||
output "nat_public_ips" { | ||
description = "List of public Elastic IPs created for AWS NAT Gateway" | ||
value = ["${module.vpc.nat_public_ips}"] | ||
value = module.vpc.nat_public_ips | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ module "vpc" { | |
Name = "no-private-subnets" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# VPC | ||
output "vpc_id" { | ||
description = "The ID of the VPC" | ||
value = "${module.vpc.vpc_id}" | ||
value = module.vpc.vpc_id | ||
} | ||
|
||
# Subnets | ||
output "private_subnets" { | ||
description = "List of IDs of private subnets" | ||
value = ["${module.vpc.private_subnets}"] | ||
value = module.vpc.private_subnets | ||
} | ||
|
||
output "public_subnets" { | ||
description = "List of IDs of public subnets" | ||
value = ["${module.vpc.public_subnets}"] | ||
value = module.vpc.public_subnets | ||
} | ||
|
||
output "database_subnets" { | ||
description = "List of IDs of database subnets" | ||
value = ["${module.vpc.database_subnets}"] | ||
value = module.vpc.database_subnets | ||
} | ||
|
||
output "elasticache_subnets" { | ||
description = "List of IDs of elasticache subnets" | ||
value = ["${module.vpc.elasticache_subnets}"] | ||
value = module.vpc.elasticache_subnets | ||
} | ||
|
||
# NAT gateways | ||
output "nat_public_ips" { | ||
description = "List of public Elastic IPs created for AWS NAT Gateway" | ||
value = ["${module.vpc.nat_public_ips}"] | ||
value = module.vpc.nat_public_ips | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ module "vpc" { | |
default_vpc_name = "default" | ||
default_vpc_enable_dns_hostnames = true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Default VPC | ||
output "default_vpc_id" { | ||
description = "The ID of the Default VPC" | ||
value = "${module.vpc.default_vpc_id}" | ||
value = module.vpc.default_vpc_id | ||
} | ||
|
||
output "default_vpc_cidr_block" { | ||
description = "The CIDR block of the VPC" | ||
value = "${module.vpc.default_vpc_cidr_block}" | ||
value = module.vpc.default_vpc_cidr_block | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.