[FEATURE REQUEST] Allow to preserve OS images when run 'epicli apply' for existing cluster #2288
Closed
8 of 12 tasks
Labels
area/terraform
priority/medium
Task with medium priority
python
Pull requests that update Python code
type/improvement
Milestone
Is your feature request related to a problem? Please describe.
When we release version with updated default OS image and run it for existing cluster deployed with older image, Terraform will detect the difference and may destroy existing VMs.
For AWS, it fails:
For Azure, it did nothing (no failure) after changing from
7-RAW/7.6.2018103108
to7-RAW/7.7.2019090418
but failed after changing from7-RAW/7.6.2018103108
to7-LVM/7.9.2020111202
:Because we have:
delete_os_disk_on_termination = "false"
the OS disk was not removed.
We want to have a setting or mode to avoid such errors without modifying infrastructure when only OS image was changed.
Describe the solution you'd like
Implement a mechanism to use the current OS images in case of fresh deployment, in case of upgrade between minor/path versions user will stay with the initial ones.
Describe alternatives you've considered
n/a
Additional context
Special requirements for LTS versions (
apply
afterupgrade
).DoD checklist
The text was updated successfully, but these errors were encountered: