-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change sub-resources to TypeList. TypeSet is not suitable for this application as the checks are based on the hash and from the looks of it there is no way to have some attributes of the subresource cause updates and some to force a new resource. tl;dr - if the Set element's key (hash): - does not change, then terraform considers no changes are to be made to the the element - does change, then terraform will replace the element (which will have a new key) and if one if its attributes is set to `ForceNew`, the entire resource is going to be recreated: even if the value of the `ForceNew` attribute has not changed, its path in the state will have changed. Signed-off-by: Dimitrios Karagiannis <[email protected]>
- Loading branch information
Showing
1 changed file
with
29 additions
and
52 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