terraform-aws-rds-cluster icon indicating copy to clipboard operation
terraform-aws-rds-cluster copied to clipboard

Add output variable for `master_user_secret`

Open thedomeffm opened this issue 6 months ago • 2 comments

what

Add master_user_secret (~~renamed~~ followed the cloudposse naming replacing master with admin) as output.

why

I want to add the secret to my beanstalk environment, but I can not reference the secret in terraform, because the master_user_secret is not available.

references

  • https://github.com/cloudposse/terraform-aws-rds-cluster/issues/166

Add output block that contains the the secret ARN (see master_user_secret reference in the terraform docs).

... but it was not added 😢

  • https://github.com/cloudposse/terraform-aws-rds-cluster/pull/221

I am not sure how to configure the output correctly, beacuse the value just exists when the manage_admin_user_password is true. Does the current implementation probably result in problems? My terraform knowledge is limited. 😅

thedomeffm avatar May 05 '25 07:05 thedomeffm