Bug: Change in CIDR forces replacement #647
Labels
bug
Something isn't working
groomed
Task that everybody agrees to pass the gatekeeper
high priority 🔥
Issue marked with this label has a high priority in a development
Current Behaviour
Currently, the CIDR for subnets created in VPCs are calculated dynamically. For instance, in the case of AWS, each node pool in the same region has a subnet created based of their position in node pool slice.
The issue arises, when you change that slice of node pools, i.e. you remove a certain node pool from the input manifest. This then assigns a new CIDR to the subnet, which in the case of AWS forces replacement.
As the subnet is being replaced, all resources that are using subnet ID are being replaced as well, which includes VMs themselves.
Expected Behaviour
The deletion of a one node pool should not trigger the replacement of another.
Steps To Reproduce
1.yaml
2.yaml
aws-compute
interraformer
logsAnything else to note
The text was updated successfully, but these errors were encountered: