Skip to content

Commit

Permalink
Update the project README
Browse files Browse the repository at this point in the history
Update to reflect the conversion of the Packer configuration to HCL2.
  • Loading branch information
mcdonnnj committed Oct 18, 2024
1 parent 9ceab2d commit 2c79e4b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@ The AMIs are built like so:
```console
cd packer
ansible-galaxy install --role-file ansible/requirements.yml
packer build bastion.json
packer build dashboard.json
packer build docker.json
packer build mongo.json
packer build nessus.json
packer build nmap.json
packer build reporter.json
packer init .
packer build .
```

If building a non-default image (for testing as an example) the prefix for the
created AMI can be changed from the default value of `cyhy` like so:

```console
packer build -var ami_prefix=testing bastion.json
packer build -var ami_prefix=testing -only amazon-ebs.bastion .
```

You can also use a `.pkrvars.hcl` file to set any variables. For example:

```hcl
ami_prefix = "testing"
```

Also note that
Expand Down

0 comments on commit 2c79e4b

Please sign in to comment.