-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform 0.12 support #228
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# VPC | ||
output "vpc_id" { | ||
description = "The ID of the VPC" | ||
value = "${module.vpc.vpc_id}" | ||
value = module.vpc.vpc_id | ||
} | ||
|
||
# CIDR blocks | ||
output "vpc_cidr_block" { | ||
description = "The CIDR block of the VPC" | ||
value = ["${module.vpc.vpc_cidr_block}"] | ||
value = [module.vpc.vpc_cidr_block] | ||
} | ||
|
||
//output "vpc_ipv6_cidr_block" { | ||
|
@@ -18,22 +18,22 @@ output "vpc_cidr_block" { | |
# 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] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The square brackets need to be removed. |
||
} | ||
|
||
# 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] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same with this. |
||
} | ||
|
||
# AZs | ||
output "azs" { | ||
description = "A list of availability zones spefified as argument to this module" | ||
value = ["${module.vpc.azs}"] | ||
value = [module.vpc.azs] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And this. |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The square brackets need to be removed.
Per 0.12 migration guide, the following is no longer necessary.