Add listSortStringModifier custom PlanModifier. During the plan, if the proposed changes to a list of strings differs from the current state only by order, then continue using the state's list of strings.
This avoids unneeded updates to lists of strings that only serve to shuffle the order of strings
Issues
fix aliases
Changelog
Add
listSortStringModifier
custom PlanModifier. During the plan, if the proposed changes to a list of strings differs from the current state only by order, then continue using the state's list of strings. This avoids unneeded updates to lists of strings that only serve to shuffle the order of stringschangie
entryTophatting
With this config file:
Create infra, service, and team resources with aliases.
terraform apply
Update the config file, sort all aliases:
task plan
shows no changeUpdate the config file, change contents of aliases:
Update aliases.
terraform apply
Tear down resources,
terraform destroy