Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adding missing RDS endpoint to output.tf #563

Merged
merged 4 commits into from
Jan 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,9 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| vpc\_endpoint\_qldb\_session\_dns\_entry | The DNS entries for the VPC Endpoint for QLDB Session. |
| vpc\_endpoint\_qldb\_session\_id | The ID of VPC endpoint for QLDB Session |
| vpc\_endpoint\_qldb\_session\_network\_interface\_ids | One or more network interfaces for the VPC Endpoint for QLDB Session. |
| vpc\_endpoint\_rds\_dns\_entry | The DNS entries for the VPC Endpoint for RDS. |
| vpc\_endpoint\_rds\_id | The ID of VPC endpoint for RDS |
| vpc\_endpoint\_rds\_network\_interface\_ids | One or more network interfaces for the VPC Endpoint for RDS. |
| vpc\_endpoint\_rekognition\_dns\_entry | The DNS entries for the VPC Endpoint for Rekognition. |
| vpc\_endpoint\_rekognition\_id | The ID of VPC endpoint for Rekognition |
| vpc\_endpoint\_rekognition\_network\_interface\_ids | One or more network interfaces for the VPC Endpoint for Rekognition. |
Expand Down
16 changes: 16 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,22 @@ output "vpc_endpoint_codeartifact_repositories_dns_entry" {
value = flatten(aws_vpc_endpoint.codeartifact_repositories.*.dns_entry)
}

output "vpc_endpoint_rds_id" {
description = "The ID of VPC endpoint for RDS"
value = concat(aws_vpc_endpoint.rds.*.id, [""])[0]
}

output "vpc_endpoint_rds_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for RDS."
value = flatten(aws_vpc_endpoint.rds.*.network_interface_ids)
}

output "vpc_endpoint_rds_dns_entry" {
description = "The DNS entries for the VPC Endpoint for RDS."
value = flatten(aws_vpc_endpoint.rds.*.dns_entry)
}


# VPC flow log
output "vpc_flow_log_id" {
description = "The ID of the Flow Log resource"
Expand Down