From 829cb91fd9bf1ab87feaf3ae9547fe7d5e9030b0 Mon Sep 17 00:00:00 2001 From: Matt McLane Date: Thu, 10 Aug 2023 10:00:02 -0400 Subject: [PATCH] add example --- examples/postgresql-iam-cluster/README.md | 1 + examples/postgresql-iam-cluster/outputs.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/examples/postgresql-iam-cluster/README.md b/examples/postgresql-iam-cluster/README.md index d895eb3..9736197 100644 --- a/examples/postgresql-iam-cluster/README.md +++ b/examples/postgresql-iam-cluster/README.md @@ -63,6 +63,7 @@ No inputs. | Name | Description | |------|-------------| | [db\_proxy\_endpoints](#output\_db\_proxy\_endpoints) | Array containing the full resource object and attributes for all DB proxy endpoints created | +| [iam\_role\_arn](#output\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the role proxy uses to access secrets | | [log\_group\_arn](#output\_log\_group\_arn) | The Amazon Resource Name (ARN) of the CloudWatch log group | | [proxy\_arn](#output\_proxy\_arn) | The Amazon Resource Name (ARN) for the proxy | | [proxy\_default\_target\_group\_arn](#output\_proxy\_default\_target\_group\_arn) | The Amazon Resource Name (ARN) for the default target group | diff --git a/examples/postgresql-iam-cluster/outputs.tf b/examples/postgresql-iam-cluster/outputs.tf index 4b07beb..e4bc018 100644 --- a/examples/postgresql-iam-cluster/outputs.tf +++ b/examples/postgresql-iam-cluster/outputs.tf @@ -77,3 +77,9 @@ output "log_group_arn" { description = "The Amazon Resource Name (ARN) of the CloudWatch log group" value = module.rds_proxy.log_group_arn } + +# IAM role +output "iam_role_arn" { + description = "The Amazon Resource Name (ARN) specifying the role proxy uses to access secrets" + value = module.rds_proxy.iam_role_arn +}