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

fix: Flush EC2 service cache on new rollup #317

Closed

Conversation

eytan-avisror
Copy link
Contributor

Signed-off-by: Eytan Avisror [email protected]

Fixes #309

This issue caused by stale cache in LaunchTemplate versions if multiple upgrades happen in succession:

if strings.EqualFold(templateVersion, LaunchTemplateVersionLatest) {
templateVersion = awsprovider.GetTemplateLatestVersion(r.Cloud.LaunchTemplates, launchTemplateName)
}

In this case r.Cloud.LaunchTemplates template versions is stale, adding the flushing on new rollup admission should fix this problem.

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.

2 participants