hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder
https://www.packer.io/docs/builders/amazon
Mozilla Public License 2.0
72 stars 110 forks source link

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

Closed lillarspillars closed 1 year ago

lillarspillars commented 1 year ago

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

hashicorp-cla commented 1 year ago

CLA assistant check
All committers have signed the CLA.