Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Specify instance image via aws_ami resource #284

Merged
merged 2 commits into from Feb 15, 2017
Merged

Specify instance image via aws_ami resource #284

merged 2 commits into from Feb 15, 2017

Conversation

philandstuff
Copy link
Contributor

This commit specifies the instance image via the aws_ami resource.
This has the following advantages:

  • it makes it clearer which ami we're using, and what specific
    properties we want (in this case, ubuntu xenial on hvm with ssd
    storage)
  • it will automatically use newer AMIs when they become available

This has the following disadvantage:

  • it will automatically use newer AMIs when they become available

ie, when a new ubuntu AMI gets baked, this code will automatically
rebuild the world to use it.

Putting this out as a PR for discussion; I'm undecided about it.

This commit specifies the instance image via the aws_ami resource.
This has the following advantages:

  - it makes it clearer which ami we're using, and what specific
    properties we want (in this case, ubuntu xenial on hvm with ssd
    storage)
  - it will automatically use newer AMIs when they become available

This has the following disadvantage:

  - it will automatically use newer AMIs when they become available

ie, when a new ubuntu AMI gets baked, this code will automatically
rebuild the world to use it.

Putting this out as a PR for discussion; I'm undecided about it.
@philandstuff
Copy link
Contributor Author

Worth mentioning that this PR, at the moment, results in a plan which does no changes. Which is as expected 😄

@philandstuff philandstuff merged commit 5fb9d60 into master Feb 15, 2017
@philandstuff philandstuff deleted the aws_ami branch February 15, 2017 16:46
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.

None yet

2 participants