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

Fix var.regex_replace_chars implementation #50

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

henrydobson
Copy link
Contributor

See #49

Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @henrydobson !
we missed the fact that it was inside strings

@aknysh aknysh merged commit e8fb5f5 into cloudposse:master Feb 14, 2019
@osterman
Copy link
Member

osterman commented Feb 14, 2019

That’s a good catch!

This PR moved too fast for me to review.

In general, I think we should pass though values without changing the syntax. So terraform has an expected syntax for a Regex. We redefined it in this PR. We should instead add the slashes to the Regex variable and not do interpolation.

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

Successfully merging this pull request may close these issues.

3 participants