Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
553d76ae
Unverified
Commit
553d76ae
authored
Aug 19, 2018
by
Anton Babenko
Committed by
GitHub
Aug 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed IPv6 from outputs (fixed #157) (#158)
parent
a9e92d2e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
16 deletions
+13
-16
README.md
README.md
+0
-2
README.md
examples/simple-vpc/README.md
+0
-1
outputs.tf
examples/simple-vpc/outputs.tf
+4
-4
outputs.tf
outputs.tf
+9
-9
No files found.
README.md
View file @
553d76ae
...
...
@@ -279,8 +279,6 @@ Terraform version 0.10.3 or newer is required for this module to work.
| vpc_endpoint_s3_pl_id | The prefix list for the S3 VPC endpoint. |
| vpc_id | VPC |
| vpc_instance_tenancy | Tenancy of instances spin up within VPC |
| vpc_ipv6_association_id | The association ID for the IPv6 CIDR block |
| vpc_ipv6_cidr_block | The IPv6 CIDR block |
| vpc_main_route_table_id | The ID of the main route table associated with this VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...
...
examples/simple-vpc/README.md
View file @
553d76ae
...
...
@@ -27,6 +27,5 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| public_subnets | List of IDs of public subnets |
| vpc_cidr_block | CIDR blocks |
| vpc_id | VPC |
| vpc_ipv6_cidr_block | The IPv6 CIDR block |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
examples/simple-vpc/outputs.tf
View file @
553d76ae
...
...
@@ -10,10 +10,10 @@ output "vpc_cidr_block" {
value
=
[
"
${module
.
vpc
.
vpc_cidr_block
}
"
]
}
output
"vpc_ipv6_cidr_block"
{
description
=
"The IPv6 CIDR block"
value
=
[
"
${module
.
vpc
.
vpc_ipv6_cidr_block
}
"
]
}
//
output "vpc_ipv6_cidr_block" {
//
description = "The IPv6 CIDR block"
//
value = ["${module.vpc.vpc_ipv6_cidr_block}"]
//
}
# Subnets
output
"private_subnets"
{
...
...
outputs.tf
View file @
553d76ae
...
...
@@ -49,15 +49,15 @@ output "vpc_main_route_table_id" {
value
=
"
${
element
(
concat
(
aws_vpc
.
this
.
*
.
main_route_table_id
,
list
(
""
)),
0
)
}
"
}
output
"vpc_ipv6_association_id"
{
description
=
"The association ID for the IPv6 CIDR block"
value
=
"
${
element
(
concat
(
aws_vpc
.
this
.
*
.
ipv6_association_id
,
list
(
""
)),
0
)
}
"
}
output
"vpc_ipv6_cidr_block"
{
description
=
"The IPv6 CIDR block"
value
=
"
${
element
(
concat
(
aws_vpc
.
this
.
*
.
ipv6_cidr_block
,
list
(
""
)),
0
)
}
"
}
//
output "vpc_ipv6_association_id" {
//
description = "The association ID for the IPv6 CIDR block"
//
value = "${element(concat(aws_vpc.this.*.ipv6_association_id, list("")), 0)}"
//
}
//
//
output "vpc_ipv6_cidr_block" {
//
description = "The IPv6 CIDR block"
//
value = "${element(concat(aws_vpc.this.*.ipv6_cidr_block, list("")), 0)}"
//
}
# Subnets
output
"private_subnets"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment