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 templatestring function #28686

Closed
wants to merge 1 commit into from
Closed

Conversation

nitrocode
Copy link

@nitrocode nitrocode commented May 12, 2021

This allows us to fully deprecate the template provider by allowing us to templatize a string.

✗ go install .~/go/bin/terraform console
> templatestring("Hello, $${name}!", { name = "Jodie" })
"Hello, Jodie!"

This would be great if we could get this function could be backported to previous versions of terraform to ensure full deprecation of the template provider.

Edit:

@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

@nitrocode
Copy link
Author

We decided to go with a forked template provider with an m1 release instead.

https://gist.github.com/nitrocode/cf40a24054a66afe2b19ca54b7be5d68

@nitrocode nitrocode closed this May 19, 2023
@github-actions
Copy link
Contributor

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 contributions.
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 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render templates in a different module to where they are defined
3 participants