Skip to content
Snippets Groups Projects
Commit db69453a authored by Rob Kooper's avatar Rob Kooper
Browse files

fix critical issue where nodes could be destroyed

parent ce9df166
No related branches found
Tags v2.3.2
No related merge requests found
......@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## 2.3.2 - 2023-08-30
CRITICAL the version 2.2.0 - 2.3.1 could result in all nodes in the cluster being deleted in the case of changes to the userdata.
### Changed
- don't remove nodes when there are changes to userdata, key, availability zone, block_device
## 2.3.1 - 2023-08-26
### Changed
......
......@@ -75,6 +75,15 @@ resource "openstack_compute_instance_v2" "machine" {
node_options = lookup(local.node_options, each.value.role, "--worker")
node_labels = join(" ", [for l in each.value.labels : format("-l %s", replace(l, " ", "_"))])
}))
lifecycle {
ignore_changes = [
key_pair,
block_device,
user_data,
availability_zone
]
}
}
# ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment