Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow variable "master_password" to accept ephemeral values #482

Open
estar-platform-team opened this issue Jan 22, 2025 · 0 comments
Open

Comments

@estar-platform-team
Copy link

estar-platform-team commented Jan 22, 2025

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

master_password is not declared as accepting a ephemeral values, so it cannot be set to a result derived from an ephemeral resource.

Describe the solution you'd like.

Ideally master_password or an alternative variable would accept ephemeral resource results

Describe alternatives you've considered.

n/a

Additional context

When trying to call this module using an ephemeral resource (foe example a secret from AWS secrets manager) this error appears

│ Error: Ephemeral value not allowed
│ 
│   on module_aurora.tf line 23, in module "aurora_primary":
│   23:   master_password             = ephemeral.aws_secretsmanager_secret_version.master_password.secret_string
│ 
│ This input variable is not declared as accepting a ephemeral values, so it
│ cannot be set to a result derived from an ephemeral value.

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant