You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template_dir does not show the rendered output while executing the terraform plan command. However the template_file shows the rendered output while executing terraform plan. Please add the feature to show the rendered files ( files in the sub-directories also ) while executing terraform plan for template_dir resources.
Terraform version:
Terraform v0.12.28
The text was updated successfully, but these errors were encountered:
This seems to be a feature request for the template provider rather than for Terraform CLI, so there's nothing we could change in this repository to get the result you are requesting.
Normally I'd refer you to the template provider repository, but the team that was maintaining the provider has now archived it to mark it as deprecated. The existing versions of the provider remain available, but my understanding is that the existing functionality is frozen and the team doesn't plan to make any further releases.
The announcement I linked above about the provider being archived includes a link to the hashicorp/dir/template module as the suggested replacement for template_dir. That replacement module renders templates in memory rather than on disk, so using it might address the concern you raised here about the results not being visible in the plan output, depending on how you use the rendered template.
We use the issues in this repository to represent bugs and enhancement requests in the main Terraform CLI releases, so I'm going to close this issue. If you have further questions about using the hashicorp/template/dir module then I'd suggest starting a new topic in the community forum, which is a good place for general Terraform questions and concerns. Thanks!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Dec 21, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
template_dir does not show the rendered output while executing the terraform plan command. However the template_file shows the rendered output while executing terraform plan. Please add the feature to show the rendered files ( files in the sub-directories also ) while executing terraform plan for template_dir resources.
Terraform version:
Terraform v0.12.28
The text was updated successfully, but these errors were encountered: