diff --git a/README.md b/README.md index 21da998a9..da69edae0 100644 --- a/README.md +++ b/README.md @@ -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. | diff --git a/outputs.tf b/outputs.tf index fb28512dc..543f04398 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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"