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
1cdd0002
Commit
1cdd0002
authored
Nov 03, 2017
by
Martín Beauchamp
Committed by
Anton Babenko
Nov 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cidr_block outputs to public and private subnets (#19)
parent
f906e730
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
outputs.tf
outputs.tf
+20
-0
No files found.
outputs.tf
View file @
1cdd0002
...
...
@@ -25,16 +25,31 @@ output "private_subnets" {
value
=
[
"
${
aws_subnet
.
private
.
*
.
id
}
"
]
}
output
"private_subnets_cidr_blocks"
{
description
=
"List of cidr_blocks of private subnets"
value
=
[
"
${
aws_subnet
.
private
.
*
.
cidr_block
}
"
]
}
output
"public_subnets"
{
description
=
"List of IDs of public subnets"
value
=
[
"
${
aws_subnet
.
public
.
*
.
id
}
"
]
}
output
"public_subnets_cidr_blocks"
{
description
=
"List of cidr_blocks of public subnets"
value
=
[
"
${
aws_subnet
.
public
.
*
.
cidr_block
}
"
]
}
output
"database_subnets"
{
description
=
"List of IDs of database subnets"
value
=
[
"
${
aws_subnet
.
database
.
*
.
id
}
"
]
}
output
"database_subnets_cidr_blocks"
{
description
=
"List of cidr_blocks of database subnets"
value
=
[
"
${
aws_subnet
.
database
.
*
.
cidr_block
}
"
]
}
output
"database_subnet_group"
{
description
=
"ID of database subnet group"
value
=
"
${
aws_db_subnet_group
.
database
.
id
}
"
...
...
@@ -45,6 +60,11 @@ output "elasticache_subnets" {
value
=
[
"
${
aws_subnet
.
elasticache
.
*
.
id
}
"
]
}
output
"elasticache_subnets_cidr_blocks"
{
description
=
"List of cidr_blocks of elasticache subnets"
value
=
[
"
${
aws_subnet
.
elasticache
.
*
.
cidr_block
}
"
]
}
output
"elasticache_subnet_group"
{
description
=
"ID of elasticache subnet group"
value
=
"
${
aws_elasticache_subnet_group
.
elasticache
.
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