Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise automation for instance refresh #25

Open
xmunoz opened this issue Dec 4, 2020 · 1 comment
Open

Devise automation for instance refresh #25

xmunoz opened this issue Dec 4, 2020 · 1 comment

Comments

@xmunoz
Copy link
Contributor

xmunoz commented Dec 4, 2020

Currently, when a new Terraform deployment is triggered, the instances in the autoscaling groups will not refresh without clicking "Start Instance Refresh" in the AWS Autoscaler UI.

There is an open issue for this, but Terraform currently does not provide the functionality yet to do this automatically.

Figure out a way to automate instance refresh, or at least keep an eye on the linked issue to know when this feature becomes available.

cecilia-donnelly added a commit that referenced this issue Jan 26, 2021
@xmunoz mentioned in #25 that Terraform didn't yet support
automatically refreshing instances with new code.  This is an issue
because, assuming we have multiple autoscaled instances up at a moment
when we want to do a code deploy, we need a way to refresh all of
those instances with the new code (other than clicking "Refresh" in
AWS).  Terraform now does support this, as of version 3.22.

Their issue: hashicorp/terraform-provider-aws#13785
The pull request: hashicorp/terraform-provider-aws#16678
The changelog: https://github.com/hashicorp/terraform-provider-aws/blob/v3.22.0/CHANGELOG.md

Use this new version of the Terraform AWS provider so that we can use
autoscaling.
@cecilia-donnelly
Copy link
Member

This refers to new image builds, in contrast to #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants