Closed
Bug 1155524
Opened 11 years ago
Closed 11 years ago
terraform should be able to make launch config changes
Categories
(Socorro :: Infra, task)
Socorro
Infra
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rhelmer, Unassigned)
Details
Attachments
(1 file)
As of Terraform 0.4, there is now a way to create a new launch config, attach it to the ASG, and destroy the old one - previously (when our configs were written) Terraform would error out trying to handle this in "terraform apply" since it'd create a duplicate-named LC which would fail.
I found out in IRC how people are doing this:
* the launch config must not have a name
* lifecycle { create_before_destroy } must be specified on the launch config
This option is documented at https://www.terraform.io/docs/configuration/resources.html
Comment 1•11 years ago
|
||
I've taken the additional proactive step of creating an informative bit of reminder documentation to not name our launch configs.
Updated•11 years ago
|
Attachment #8593760 -
Flags: review+
Comment 2•11 years ago
|
||
This bug has been open for a little while now, and tbh, I'm not clear on the parameters for resolution at this point. Is this bug suggesting that we remove the names of all of the launch configs (since they all already have create_before_destroy)? Is this bug still relevant, even?
Flags: needinfo?(rhelmer)
| Reporter | ||
Comment 3•11 years ago
|
||
This was fixed in https://github.com/mozilla/socorro-infra/commit/3bcda8124e6871160e6e165e888e9be7a2a95960
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(rhelmer)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•