-
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.
fix(v6provider): add plan modifier rules to reduce excessive known af…
…ter apply issues (#131) Fixes load balancer rules being marked as requiring re-creation when any attribute is modified on the associate load balancer. This was happening cause the `id` attribute on the load balancer got marked as "known after apply" whenever there were any changes to the load balancer. This in turn caused any load balancer rules which uses the load balancer ID to be marked as re-create, since any change to the `load_balancer_id` attribute requires the rule to be re-created. We're essentially changing the planning phase so that is copies the value from the current state if not known in the plan. Additionally, the load balancer resource gets a custom plan modifier that correctly handles changes between `virtual_machine_ids`, `virtual_machine_group_ids` and `tag_ids`.
- Loading branch information
Showing
41 changed files
with
4,601 additions
and
3,822 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
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
Oops, something went wrong.