Skip to content

Conversation

Pursu1tOfHapp1ness
Copy link

Description

Change introduces new output db_cluster_secretsmanager_secret_arn for current module.

Motivation and Context

While using ephemeral resource like aws_secretsmanager_secret_version, you need to specify ARN of the secret to proceed with desired solution for configuring RDS instance. Example:

ephemeral "aws_secretsmanager_secret_version" "example" {
  secret_id = data.aws_secretsmanager_secret.example.id
}

Now, current state of this module isn't provided anything, so you can't simply link ARN of the secret that is created by manage_master_user_password and manage_master_user_password_rotation fields and proceed with it. So, if module provides this functionality, we can simply use this output db_cluster_secretsmanager_secret_arn and use it for configuration needed providers (in my case, mysql provider).

Breaking Changes

No breaking changes, minor bump.

@Pursu1tOfHapp1ness Pursu1tOfHapp1ness changed the title Introduce db_cluster_secretsmanager_secret_arn output feat: Introduce db_cluster_secretsmanager_secret_arn output May 6, 2025
@bryantbiggs
Copy link
Member

this is already available via the cluster_master_user_secret output

value = try(aws_rds_cluster.this[0].master_user_secret, null)

@bryantbiggs bryantbiggs closed this May 7, 2025
Copy link

github-actions bot commented Jun 7, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants