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
48ff6e6f
Unverified
Commit
48ff6e6f
authored
May 25, 2020
by
quentin9696
Committed by
GitHub
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add routes table association and route attachment outputs (#398)
parent
b42905b9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
11 deletions
+95
-11
.pre-commit-config.yaml
.pre-commit-config.yaml
+9
-9
README.md
README.md
+14
-0
README.md
examples/ipv6/README.md
+2
-2
outputs.tf
outputs.tf
+70
-0
No files found.
.pre-commit-config.yaml
View file @
48ff6e6f
repos
:
repos
:
-
repo
:
git://github.com/antonbabenko/pre-commit-terraform
-
repo
:
git://github.com/antonbabenko/pre-commit-terraform
rev
:
v1.27
.0
rev
:
v1.30
.0
hooks
:
hooks
:
-
id
:
terraform_fmt
-
id
:
terraform_fmt
-
id
:
terraform_docs
-
id
:
terraform_docs
-
repo
:
git://github.com/pre-commit/pre-commit-hooks
-
repo
:
git://github.com/pre-commit/pre-commit-hooks
rev
:
v2.5
.0
rev
:
v3.1
.0
hooks
:
hooks
:
-
id
:
check-merge-conflict
-
id
:
check-merge-conflict
README.md
View file @
48ff6e6f
...
@@ -552,7 +552,11 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
...
@@ -552,7 +552,11 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
|------|-------------|
|------|-------------|
| azs | A list of availability zones specified as argument to this module |
| azs | A list of availability zones specified as argument to this module |
| cgw
\_
ids | List of IDs of Customer Gateway |
| cgw
\_
ids | List of IDs of Customer Gateway |
| database
\_
internet
\_
gateway
\_
route
\_
id | ID of the database internet gateway route. |
| database
\_
ipv6
\_
egress
\_
route
\_
id | ID of the database IPv6 egress route. |
| database
\_
nat
\_
gateway
\_
route
\_
ids | List of IDs of the database nat gateway route. |
| database
\_
network
\_
acl
\_
id | ID of the database network ACL |
| database
\_
network
\_
acl
\_
id | ID of the database network ACL |
| database
\_
route
\_
table
\_
association
\_
ids | List of IDs of the database route table association |
| database
\_
route
\_
table
\_
ids | List of IDs of database route tables |
| database
\_
route
\_
table
\_
ids | List of IDs of database route tables |
| database
\_
subnet
\_
arns | List of ARNs of database subnets |
| database
\_
subnet
\_
arns | List of ARNs of database subnets |
| database
\_
subnet
\_
group | ID of database subnet group |
| database
\_
subnet
\_
group | ID of database subnet group |
...
@@ -573,6 +577,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
...
@@ -573,6 +577,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| default
\_
vpc
\_
main
\_
route
\_
table
\_
id | The ID of the main route table associated with this VPC |
| default
\_
vpc
\_
main
\_
route
\_
table
\_
id | The ID of the main route table associated with this VPC |
| egress
\_
only
\_
internet
\_
gateway
\_
id | The ID of the egress only Internet Gateway |
| egress
\_
only
\_
internet
\_
gateway
\_
id | The ID of the egress only Internet Gateway |
| elasticache
\_
network
\_
acl
\_
id | ID of the elasticache network ACL |
| elasticache
\_
network
\_
acl
\_
id | ID of the elasticache network ACL |
| elasticache
\_
route
\_
table
\_
association
\_
ids | List of IDs of the elasticache route table association |
| elasticache
\_
route
\_
table
\_
ids | List of IDs of elasticache route tables |
| elasticache
\_
route
\_
table
\_
ids | List of IDs of elasticache route tables |
| elasticache
\_
subnet
\_
arns | List of ARNs of elasticache subnets |
| elasticache
\_
subnet
\_
arns | List of ARNs of elasticache subnets |
| elasticache
\_
subnet
\_
group | ID of elasticache subnet group |
| elasticache
\_
subnet
\_
group | ID of elasticache subnet group |
...
@@ -582,6 +587,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
...
@@ -582,6 +587,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| elasticache
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of elasticache subnets in an IPv6 enabled VPC |
| elasticache
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of elasticache subnets in an IPv6 enabled VPC |
| igw
\_
id | The ID of the Internet Gateway |
| igw
\_
id | The ID of the Internet Gateway |
| intra
\_
network
\_
acl
\_
id | ID of the intra network ACL |
| intra
\_
network
\_
acl
\_
id | ID of the intra network ACL |
| intra
\_
route
\_
table
\_
association
\_
ids | List of IDs of the intra route table association |
| intra
\_
route
\_
table
\_
ids | List of IDs of intra route tables |
| intra
\_
route
\_
table
\_
ids | List of IDs of intra route tables |
| intra
\_
subnet
\_
arns | List of ARNs of intra subnets |
| intra
\_
subnet
\_
arns | List of ARNs of intra subnets |
| intra
\_
subnets | List of IDs of intra subnets |
| intra
\_
subnets | List of IDs of intra subnets |
...
@@ -591,19 +597,27 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
...
@@ -591,19 +597,27 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| nat
\_
ids | List of allocation ID of Elastic IPs created for AWS NAT Gateway |
| nat
\_
ids | List of allocation ID of Elastic IPs created for AWS NAT Gateway |
| nat
\_
public
\_
ips | List of public Elastic IPs created for AWS NAT Gateway |
| nat
\_
public
\_
ips | List of public Elastic IPs created for AWS NAT Gateway |
| natgw
\_
ids | List of NAT Gateway IDs |
| natgw
\_
ids | List of NAT Gateway IDs |
| private
\_
ipv6
\_
egress
\_
route
\_
ids | List of IDs of the ipv6 egress route. |
| private
\_
nat
\_
gateway
\_
route
\_
ids | List of IDs of the private nat gateway route. |
| private
\_
network
\_
acl
\_
id | ID of the private network ACL |
| private
\_
network
\_
acl
\_
id | ID of the private network ACL |
| private
\_
route
\_
table
\_
association
\_
ids | List of IDs of the private route table association |
| private
\_
route
\_
table
\_
ids | List of IDs of private route tables |
| private
\_
route
\_
table
\_
ids | List of IDs of private route tables |
| private
\_
subnet
\_
arns | List of ARNs of private subnets |
| private
\_
subnet
\_
arns | List of ARNs of private subnets |
| private
\_
subnets | List of IDs of private subnets |
| private
\_
subnets | List of IDs of private subnets |
| private
\_
subnets
\_
cidr
\_
blocks | List of cidr
\_
blocks of private subnets |
| private
\_
subnets
\_
cidr
\_
blocks | List of cidr
\_
blocks of private subnets |
| private
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of private subnets in an IPv6 enabled VPC |
| private
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of private subnets in an IPv6 enabled VPC |
| public
\_
internet
\_
gateway
\_
ipv6
\_
route
\_
id | ID of the IPv6 internet gateway route. |
| public
\_
internet
\_
gateway
\_
route
\_
id | ID of the internet gateway route. |
| public
\_
network
\_
acl
\_
id | ID of the public network ACL |
| public
\_
network
\_
acl
\_
id | ID of the public network ACL |
| public
\_
route
\_
table
\_
association
\_
ids | List of IDs of the public route table association |
| public
\_
route
\_
table
\_
ids | List of IDs of public route tables |
| public
\_
route
\_
table
\_
ids | List of IDs of public route tables |
| public
\_
subnet
\_
arns | List of ARNs of public subnets |
| public
\_
subnet
\_
arns | List of ARNs of public subnets |
| public
\_
subnets | List of IDs of public subnets |
| public
\_
subnets | List of IDs of public subnets |
| public
\_
subnets
\_
cidr
\_
blocks | List of cidr
\_
blocks of public subnets |
| public
\_
subnets
\_
cidr
\_
blocks | List of cidr
\_
blocks of public subnets |
| public
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of public subnets in an IPv6 enabled VPC |
| public
\_
subnets
\_
ipv6
\_
cidr
\_
blocks | List of IPv6 cidr
\_
blocks of public subnets in an IPv6 enabled VPC |
| redshift
\_
network
\_
acl
\_
id | ID of the redshift network ACL |
| redshift
\_
network
\_
acl
\_
id | ID of the redshift network ACL |
| redshift
\_
public
\_
route
\_
table
\_
association
\_
ids | List of IDs of the public redshidt route table association |
| redshift
\_
route
\_
table
\_
association
\_
ids | List of IDs of the redshift route table association |
| redshift
\_
route
\_
table
\_
ids | List of IDs of redshift route tables |
| redshift
\_
route
\_
table
\_
ids | List of IDs of redshift route tables |
| redshift
\_
subnet
\_
arns | List of ARNs of redshift subnets |
| redshift
\_
subnet
\_
arns | List of ARNs of redshift subnets |
| redshift
\_
subnet
\_
group | ID of redshift subnet group |
| redshift
\_
subnet
\_
group | ID of redshift subnet group |
...
...
examples/ipv6/README.md
View file @
48ff6e6f
...
@@ -33,8 +33,8 @@ No input.
...
@@ -33,8 +33,8 @@ No input.
| Name | Description |
| Name | Description |
|------|-------------|
|------|-------------|
| ipv6
\_
association
\_
id | The IPv6 CIDR block |
| ipv6
\_
association
\_
id | The
association ID for the
IPv6 CIDR block |
| ipv6
\_
cidr
\_
block | The
association ID for the
IPv6 CIDR block |
| ipv6
\_
cidr
\_
block | The IPv6 CIDR block |
| vpc
\_
id | The ID of the VPC |
| vpc
\_
id | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
outputs.tf
View file @
48ff6e6f
...
@@ -238,6 +238,76 @@ output "intra_route_table_ids" {
...
@@ -238,6 +238,76 @@ output "intra_route_table_ids" {
value
=
aws_route_table
.
intra
.*.
id
value
=
aws_route_table
.
intra
.*.
id
}
}
output
"public_internet_gateway_route_id"
{
description
=
"ID of the internet gateway route."
value
=
concat
(
aws_route
.
public_internet_gateway
.*.
id
,
[
""
]
)
[
0
]
}
output
"public_internet_gateway_ipv6_route_id"
{
description
=
"ID of the IPv6 internet gateway route."
value
=
concat
(
aws_route
.
public_internet_gateway_ipv6
.*.
id
,
[
""
]
)
[
0
]
}
output
"database_internet_gateway_route_id"
{
description
=
"ID of the database internet gateway route."
value
=
concat
(
aws_route
.
database_internet_gateway
.*.
id
,
[
""
]
)
[
0
]
}
output
"database_nat_gateway_route_ids"
{
description
=
"List of IDs of the database nat gateway route."
value
=
aws_route
.
database_nat_gateway
.*.
id
}
output
"database_ipv6_egress_route_id"
{
description
=
"ID of the database IPv6 egress route."
value
=
concat
(
aws_route
.
database_ipv6_egress
.*.
id
,
[
""
]
)
[
0
]
}
output
"private_nat_gateway_route_ids"
{
description
=
"List of IDs of the private nat gateway route."
value
=
aws_route
.
private_nat_gateway
.*.
id
}
output
"private_ipv6_egress_route_ids"
{
description
=
"List of IDs of the ipv6 egress route."
value
=
aws_route
.
private_ipv6_egress
.*.
id
}
output
"private_route_table_association_ids"
{
description
=
"List of IDs of the private route table association"
value
=
aws_route_table_association
.
private
.*.
id
}
output
"database_route_table_association_ids"
{
description
=
"List of IDs of the database route table association"
value
=
aws_route_table_association
.
database
.*.
id
}
output
"redshift_route_table_association_ids"
{
description
=
"List of IDs of the redshift route table association"
value
=
aws_route_table_association
.
redshift
.*.
id
}
output
"redshift_public_route_table_association_ids"
{
description
=
"List of IDs of the public redshidt route table association"
value
=
aws_route_table_association
.
redshift_public
.*.
id
}
output
"elasticache_route_table_association_ids"
{
description
=
"List of IDs of the elasticache route table association"
value
=
aws_route_table_association
.
elasticache
.*.
id
}
output
"intra_route_table_association_ids"
{
description
=
"List of IDs of the intra route table association"
value
=
aws_route_table_association
.
intra
.*.
id
}
output
"public_route_table_association_ids"
{
description
=
"List of IDs of the public route table association"
value
=
aws_route_table_association
.
public
.*.
id
}
output
"nat_ids"
{
output
"nat_ids"
{
description
=
"List of allocation ID of Elastic IPs created for AWS NAT Gateway"
description
=
"List of allocation ID of Elastic IPs created for AWS NAT Gateway"
value
=
aws_eip
.
nat
.*.
id
value
=
aws_eip
.
nat
.*.
id
...
...
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