Commit 215217f2 authored by Blaine Schanfeldt's avatar Blaine Schanfeldt Committed by Anton Babenko

Add Output Of Subnet ARNs (#242)

* Add Output Of Subnet ARNs

Facilitates resource access manager, subnet sharing across accounts

* Update Readme For Subnet ARN Output
parent c2734e4b
......@@ -347,6 +347,7 @@ Terraform version 0.10.3 or newer is required for this module to work.
| database\_route\_table\_ids | List of IDs of database route tables |
| database\_subnet\_group | ID of database subnet group |
| database\_subnets | List of IDs of database subnets |
| database\_subnet\_arns | List of ARNs of database subnets |
| database\_subnets\_cidr\_blocks | List of cidr_blocks of database subnets |
| default\_network\_acl\_id | The ID of the default network ACL |
| default\_route\_table\_id | The ID of the default route table |
......@@ -365,11 +366,13 @@ Terraform version 0.10.3 or newer is required for this module to work.
| elasticache\_subnet\_group | ID of elasticache subnet group |
| elasticache\_subnet\_group\_name | Name of elasticache subnet group |
| elasticache\_subnets | List of IDs of elasticache subnets |
| elasticache\_subnet\_arns | List of ARNs of elasticache subnets |
| elasticache\_subnets\_cidr\_blocks | List of cidr_blocks of elasticache subnets |
| igw\_id | The ID of the Internet Gateway |
| intra\_network\_acl\_id | ID of the intra network ACL |
| intra\_route\_table\_ids | List of IDs of intra route tables |
| intra\_subnets | List of IDs of intra subnets |
| intra\_subnet\_arns | List of ARNs of intra subnets |
| intra\_subnets\_cidr\_blocks | List of cidr_blocks of intra subnets |
| 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 |
......@@ -377,15 +380,18 @@ Terraform version 0.10.3 or newer is required for this module to work.
| private\_network\_acl\_id | ID of the private network ACL |
| private\_route\_table\_ids | List of IDs of private route tables |
| private\_subnets | List of IDs of private subnets |
| private\_subnet\_arns | List of ARNs of private subnets |
| private\_subnets\_cidr\_blocks | List of cidr_blocks of private subnets |
| public\_network\_acl\_id | ID of the public network ACL |
| public\_route\_table\_ids | List of IDs of public route tables |
| public\_subnets | List of IDs of public subnets |
| public\_subnet\_arns | List of ARNs of public subnets |
| public\_subnets\_cidr\_blocks | List of cidr_blocks of public subnets |
| redshift\_network\_acl\_id | ID of the redshift network ACL |
| redshift\_route\_table\_ids | List of IDs of redshift route tables |
| redshift\_subnet\_group | ID of redshift subnet group |
| redshift\_subnets | List of IDs of redshift subnets |
| redshift\_subnet\_arns | List of ARNs of redshift subnets |
| redshift\_subnets\_cidr\_blocks | List of cidr_blocks of redshift subnets |
| vgw\_id | The ID of the VPN Gateway |
| vpc\_arn | The ARN of the VPC |
......
......@@ -73,6 +73,11 @@ output "private_subnets" {
value = ["${aws_subnet.private.*.id}"]
}
output "private_subnet_arns" {
description = "List of ARNs of private subnets"
value = ["${aws_subnet.private.*.arn}"]
}
output "private_subnets_cidr_blocks" {
description = "List of cidr_blocks of private subnets"
value = ["${aws_subnet.private.*.cidr_block}"]
......@@ -83,6 +88,11 @@ output "public_subnets" {
value = ["${aws_subnet.public.*.id}"]
}
output "public_subnet_arns" {
description = "List of ARNs of public subnets"
value = ["${aws_subnet.public.*.arn}"]
}
output "public_subnets_cidr_blocks" {
description = "List of cidr_blocks of public subnets"
value = ["${aws_subnet.public.*.cidr_block}"]
......@@ -93,6 +103,11 @@ output "database_subnets" {
value = ["${aws_subnet.database.*.id}"]
}
output "database_subnet_arns" {
description = "List of ARNs of database subnets"
value = ["${aws_subnet.database.*.arn}"]
}
output "database_subnets_cidr_blocks" {
description = "List of cidr_blocks of database subnets"
value = ["${aws_subnet.database.*.cidr_block}"]
......@@ -108,6 +123,11 @@ output "redshift_subnets" {
value = ["${aws_subnet.redshift.*.id}"]
}
output "redshift_subnet_arns" {
description = "List of ARNs of redshift subnets"
value = ["${aws_subnet.redshift.*.arn}"]
}
output "redshift_subnets_cidr_blocks" {
description = "List of cidr_blocks of redshift subnets"
value = ["${aws_subnet.redshift.*.cidr_block}"]
......@@ -123,6 +143,11 @@ output "elasticache_subnets" {
value = ["${aws_subnet.elasticache.*.id}"]
}
output "elasticache_subnet_arns" {
description = "List of ARNs of elasticache subnets"
value = ["${aws_subnet.elasticache.*.arn}"]
}
output "elasticache_subnets_cidr_blocks" {
description = "List of cidr_blocks of elasticache subnets"
value = ["${aws_subnet.elasticache.*.cidr_block}"]
......@@ -133,6 +158,11 @@ output "intra_subnets" {
value = ["${aws_subnet.intra.*.id}"]
}
output "intra_subnet_arns" {
description = "List of ARNs of intra subnets"
value = ["${aws_subnet.intra.*.arn}"]
}
output "intra_subnets_cidr_blocks" {
description = "List of cidr_blocks of intra subnets"
value = ["${aws_subnet.intra.*.cidr_block}"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment