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 replace function to bake stdlib #1720

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented Apr 5, 2023

HCL has two replace functions: a regex_replace and a standard replace. We only included regex_replace, so we should probably include replace as well.

This helps bring us in-line with other HCL-based languages, such as in Packer:

Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc requested a review from crazy-max April 5, 2023 10:50
@jedevc jedevc merged commit a3293cd into docker:master Apr 5, 2023
54 checks passed
@jedevc jedevc deleted the bake-replace-func branch April 5, 2023 10:59
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.

None yet

2 participants