How to recreate EC2 instances of an autoscaling group with terraform?

后端 未结 3 476
抹茶落季
抹茶落季 2020-12-10 06:15

Scenario: I am running an AWS autoscaling group (ASG), and I have changed the associated launch configuration during terraform apply. The ASG stays unaffected.

3条回答
  •  粉色の甜心
    2020-12-10 06:38

    This isn't an answer per se, but I struggled with this as well. In one context it was general, in another, Kubernetes.

    I ended up writing an open-source service to watch and auto-rolling update. It should solve this, but it is new, more than happy to get feedback/issues/PRs on it.

    https://github.com/deitch/aws-asg-roller

提交回复
热议问题