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: don't error on AMI sharing test unset #414

Closed lbajolet-hashicorp closed 1 year ago

lbajolet-hashicorp commented 1 year ago

Testing for the AMI sharing between accounts requires multiple extra variables to be set so we can interpolate those values in the template we run the test on.

In case it is not set, the current setup makes acceptance tests fail, which can be counter-productive. To avoid this problem, we don't error when these variables are not set, but instead we skip the test.