Add ignore_changes for AWS worker image_id

This commit is contained in:
Dalton Hubble 2018-03-10 13:13:48 -08:00
parent 42708f9a70
commit b61d6373c5
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Notable changes between versions.
* Require terraform-provider-aws 1.7.0 or higher
* Allow groups of workers to be defined and joined to a cluster (i.e. worker pools) ([#150](https://github.com/poseidon/typhoon/pull/150))
* Add kubelet `--volume-plugin-dir` flag to allow flexvolume plugins ([#142](https://github.com/poseidon/typhoon/pull/142))
* Fix controller and worker launch configs to ignore AMI changes ([#126](https://github.com/poseidon/typhoon/pull/126), [#158](https://github.com/poseidon/typhoon/pull/158))
#### Digital Ocean

View File

@ -24,7 +24,6 @@ resource "aws_autoscaling_group" "workers" {
lifecycle {
# override the default destroy and replace update behavior
create_before_destroy = true
ignore_changes = ["image_id"]
}
tags = [{
@ -53,6 +52,7 @@ resource "aws_launch_configuration" "worker" {
lifecycle {
// Override the default destroy and replace update behavior
create_before_destroy = true
ignore_changes = ["image_id"]
}
}