Closed Bug 1155524 Opened 11 years ago Closed 11 years ago

terraform should be able to make launch config changes

Categories

(Socorro :: Infra, task)

task
Not set
normal

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
Attached image 61365845.jpg
I've taken the additional proactive step of creating an informative bit of reminder documentation to not name our launch configs.
Attachment #8593760 - Flags: review+
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)
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.

Attachment

General

Created:
Updated:
Size: