Skip to content

Commit

Permalink
Merge pull request #384 from cisagov/documentation/use-correct-packer…
Browse files Browse the repository at this point in the history
…-build-commands

Use the correct `packer build` commands
  • Loading branch information
jsf9k authored Dec 11, 2024
2 parents eb4508a + a770f2b commit 82a9528
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 82a9528

Please sign in to comment.