hashicorp / packer-plugin-amazon

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

workflows: run awscli install with update flag #381

Closed lbajolet-hashicorp closed 1 year ago

lbajolet-hashicorp commented 1 year ago

When running the action to run the acceptance tests, the step to install the AWS cli fails since there's already a version installed.

To prevent this from making the action fail, we invoke the installation script with the `--update' flag, so it will override the current version with the latest from Amazon.