Skip to content

Commit

Permalink
Merge pull request #210 from cisagov/improvement/remove-unnecessary-a…
Browse files Browse the repository at this point in the history
…mi-block-device-mapping

Remove unnecessary ami_block_device_mappings block
  • Loading branch information
jmorrowomni authored Feb 17, 2023
2 parents 078fd4c + 329d5ba commit 61a0d4f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ data "amazon-ami" "debian_bullseye" {
locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") }

source "amazon-ebs" "example" {
ami_block_device_mappings {
delete_on_termination = true
device_name = "/dev/xvda"
encrypted = true
volume_size = 8
volume_type = "gp3"
}
ami_name = "example-hvm-${local.timestamp}-x86_64-ebs"
ami_regions = var.ami_regions
associate_public_ip_address = true
Expand Down

0 comments on commit 61a0d4f

Please sign in to comment.