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

ebs: skip_create_ami skips prevalidation of AMI name (#409) #412

Conversation

lillarspillars
Copy link
Contributor

@lillarspillars lillarspillars commented Aug 11, 2023

Pretty simple fix that just adds a conditional to the step_pre_validate to skip it in case the skip_create_ami flag is set to true. I kept the look and format consistent with the existing skips that were already present.

Closes #409

@lillarspillars lillarspillars requested a review from a team as a code owner August 11, 2023 19:06
@hashicorp-cla
Copy link

hashicorp-cla commented Aug 11, 2023

CLA assistant check
All committers have signed the CLA.

@nywilken nywilken added the bug label Aug 23, 2023
Copy link
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

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

LGTM thanks for the fix.

@nywilken nywilken merged commit 2a50964 into hashicorp:main Aug 24, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enabling skip_create_ami should skip prevalidation of the AMI Name in amazon-ebs builder
3 participants