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

AWS: launch config remove the image_id lookup #2498

Closed
wants to merge 1 commit into from
Closed

AWS: launch config remove the image_id lookup #2498

wants to merge 1 commit into from

Conversation

mzupan
Copy link
Contributor

@mzupan mzupan commented Jun 25, 2015

So this is a strange use case fix.

Every now and then we update the AMI and don't want to tear down instances/ASG that are build on older AMIs done by terraform

If we spin up an instance using aws_instance we can just edit the json state file and terraform honors that since it doesn't query AWS for the currently running AMI.

Launch config queries AWS for the image_id so terraform wants to tear it down and re-build.

I'm trying to make this standard since on #terraform on IRC I was told to just edit the state json if I had to make a AMI change.

If this is needed then close the PR.

@phinze
Copy link
Contributor

phinze commented Jun 26, 2015

Hi @mzupan I believe #2018 will address this use case once it's implemented. Feel free to follow up if you disagree! 👍

@phinze phinze closed this Jun 26, 2015
@mzupan
Copy link
Contributor Author

mzupan commented Jun 26, 2015

yes it would.. thanks

@ghost
Copy link

ghost commented May 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants