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

Only use the smart default for AMI at creation time. #114

Merged
merged 3 commits into from
May 1, 2019
Merged

Conversation

lukehoban
Copy link
Member

When we use the "smart default" to pick the most recent EKS-optimized AMI, we now also mark the image as ignoreChanges to ensure that we do not pick up new "smart defaults" later. Users can still explicitly specify an amiID, and if they do this will also remove the ignoreChanges annotation so that the change will be applied.

Fixes #88.

@lukehoban lukehoban requested a review from metral April 24, 2019 23:31
@@ -11,9 +11,9 @@
"homepage": "https://pulumi.io",
"repository": "https://github.com/pulumi/pulumi-eks",
"dependencies": {
"@pulumi/aws": "^0.18.0",
"@pulumi/aws": "dev",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update this to a released build before merging.

Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This PR should help us better navigate the recent AMI flubs, thx!

When we use the "smart default" to pick the most recent EKS-optimized AMI, we now also mark the image as `ignoreChanges` to ensure that we do not pick up new "smart defaults" later.  Users can still explicitly specify an `amiID`, and if they do this will also remove the `ignoreChanges` annotation so that the change will be applied.

Fixes #88.
@lukehoban lukehoban merged commit 156c750 into master May 1, 2019
@pulumi-bot pulumi-bot deleted the lukehoban/88 branch May 1, 2019 20:57
flostadler pushed a commit that referenced this pull request Sep 4, 2024
When we use the "smart default" to pick the most recent EKS-optimized AMI, we now also mark the image as `ignoreChanges` to ensure that we do not pick up new "smart defaults" later.  Users can still explicitly specify an `amiID`, and if they do this will also remove the `ignoreChanges` annotation so that the change will be applied.

Fixes #88.
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

Successfully merging this pull request may close these issues.

Pulumi shouldn't fetch the latest AMI by default
2 participants