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 +}