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

Need to way to lock the AMI ID #4

Open
tdesikan opened this issue Dec 15, 2022 · 1 comment
Open

Need to way to lock the AMI ID #4

tdesikan opened this issue Dec 15, 2022 · 1 comment
Assignees

Comments

@tdesikan
Copy link
Contributor

We are using latest Ubuntu for the VMs, which is cool.

However, this causes a terraform apply to constantly provision new VMs which is hella annoying.

@gabemarchan
Copy link
Contributor

I don't see it in the official documentation in the Terraform Registry, but it looks like they added an optional variable called "ami_id" that you can pass to the module and specify an AMI to use. In theory, you should be able to plug in your current AMI ID and prevent Terraform from trying to re-provision everything on latest version during each run.

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

No branches or pull requests

3 participants