Skip to content

Commit

Permalink
Use the correct packer build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Dec 11, 2024
1 parent eb4508a commit a770f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Here is an example of how to kick off a pre-release build:
```console
pip install --requirement requirements-dev.txt
ansible-galaxy install --force --force-with-deps --role-file ansible/requirements.yml
AWS_PROFILE=cool-images-ec2amicreate-skeleton-packer packer build --timestamp-ui -var release_tag=$(./bump-version show) -var is_prerelease=true packer.pkr.hcl
AWS_PROFILE=cool-images-ec2amicreate-skeleton-packer packer build --timestamp-ui -var release_tag=$(./bump-version show) -var is_prerelease=true .
```

If you are satisfied with your pre-release image, you can easily create a release
Expand All @@ -135,7 +135,7 @@ region_kms_keys = {
```

```console
AWS_PROFILE=cool-images-ec2amicreate-skeleton-packer packer build --timestamp-ui -var-file release.pkrvars.hcl packer.pkr.hcl
AWS_PROFILE=cool-images-ec2amicreate-skeleton-packer packer build --timestamp-ui -var-file release.pkrvars.hcl .
```

### Giving Other AWS Accounts Permission to Launch the Image ###
Expand Down

0 comments on commit a770f2b

Please sign in to comment.