Skip to content

Commit

Permalink
Merge pull request #36 from rackspace-infrastructure-automation/MPCSU…
Browse files Browse the repository at this point in the history
…PENG-2175

Fixing outputs
  • Loading branch information
stevengorrell authored May 11, 2021
2 parents 2b09885 + a25437b commit 2b4a00d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ No Modules.
| flowlog\_log\_group\_arn | The ARN of the flow log CloudWatch log group if one was created |
| internet\_gateway | The ID of the Internet Gateway |
| nat\_gateway | The ID of the NAT Gateway if one was created |
| nat\_gateway\_eip | The IP of the NAT Gateway if one was created |
| nat\_gateway\_ids | The ID of the NAT Gateway if one was created |
| nat\_gateway\_private\_ips | The private IPs of the NAT Gateway if one was created |
| nat\_gateway\_public\_ips | The public IPs of the NAT Gateway if one was created |
| private\_route\_tables | The IDs for the private route tables |
| private\_subnets | The IDs for the private subnets |
| public\_route\_tables | The IDs for the public route tables |
Expand Down
14 changes: 12 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@ output "nat_gateway" {
value = aws_nat_gateway.nat.*.id
}

output "nat_gateway_eip" {
description = "The IP of the NAT Gateway if one was created"
output "nat_gateway_ids" {
description = "The ID of the NAT Gateway if one was created"
value = aws_eip.nat_eip.*.id
}

output "nat_gateway_private_ips" {
description = "The private IPs of the NAT Gateway if one was created"
value = aws_eip.nat_eip.*.private_ip
}

output "nat_gateway_public_ips" {
description = "The public IPs of the NAT Gateway if one was created"
value = aws_eip.nat_eip.*.public_ip
}

output "private_route_tables" {
description = "The IDs for the private route tables"
value = aws_route_table.private_route_table.*.id
Expand Down

0 comments on commit 2b4a00d

Please sign in to comment.