File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,12 @@ security_group_rules = {
177177
178178## Outputs
179179
180- | Name | Description | Type |
181- | ---------------- | ------------------------------------------------ | -------- |
182- | cluster_endpoint | DNS endpoint to connect to the database cluster. | ` string ` |
183- | cluster_id | ID of the RDS database cluster. | ` string ` |
184- | secret_arn | ARN of the secret holding database credentials. | ` string ` |
180+ | Name | Description | Type |
181+ | ------------------- | ------------------------------------------------ | -------- |
182+ | cluster_endpoint | DNS endpoint to connect to the database cluster. | ` string ` |
183+ | cluster_id | ID of the RDS database cluster. | ` string ` |
184+ | cluster_resource_id | Resource ID of the RDS database cluster. | ` string ` |
185+ | secret_arn | ARN of the secret holding database credentials. | ` string ` |
185186
186187[ acus ] : https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.how-it-works.html#aurora-serverless-v2.how-it-works.capacity
187188[ aurora-serverless ] : https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ output "cluster_id" {
88 value = module. database . cluster_id
99}
1010
11+ output "cluster_resource_id" {
12+ description = " Resource ID of the RDS database cluster."
13+ value = module. database . cluster_resource_id
14+ }
15+
1116output "secret_arn" {
1217 description = " ARN of the secret containing the user credentials."
1318 value = module. database . cluster_master_user_secret [0 ]. secret_arn
You can’t perform that action at this time.
0 commit comments