-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hcl: avoid to interpolate resource with itself
in this commit, we add a way to avoid the resource to interpolation itself with the interpolation array. let's suppose a resource has the same `ID` and the same `name`, name will be interpolated with the resource. TF does not allow this kind of syntax. We need to walk through the resources in order to find out if we try to interpolate the resource itself.
- Loading branch information
Showing
2 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters