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

Add ability to use inputs with dollar signs in them #3

Open
jbeemster opened this issue Jun 15, 2023 · 0 comments
Open

Add ability to use inputs with dollar signs in them #3

jbeemster opened this issue Jun 15, 2023 · 0 comments

Comments

@jbeemster
Copy link
Member

Currently if you have an input variable to the module that has a $ and this variable gets passed into a terraform template file it can end up being dynamically redacted to an empty string.

For example if the db_password starts with a $ the config that lands on the scale-set will have the password read as "".


One strategy to prevent this issue would be to base64 encode the config in Terraform, pass it to the user-data script, then base64 decode it there to avoid the inference.

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