Skip to content

Commit

Permalink
Enables ami deprecation timeframe, available to ebssurrogate in amazo…
Browse files Browse the repository at this point in the history
…n plugin v1.3.3
  • Loading branch information
lorengordon committed Oct 17, 2024
1 parent cc4fb15 commit 9ed4028
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions spel/minimal-linux.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ packer {
required_plugins {
amazon = {
source = "github.com/hashicorp/amazon"
version = ">= 1.3.1"
version = ">= 1.3.3"
}
azure = {
source = "github.com/hashicorp/azure"
Expand Down Expand Up @@ -687,12 +687,10 @@ source "amazon-ebssurrogate" "base" {
ami_virtualization_type = "hvm"
associate_public_ip_address = true
communicator = "ssh"
# Not yet supported for ebssurrogate builder, see:
# * https://github.com/hashicorp/packer-plugin-amazon/issues/478
# deprecate_at = local.aws_ami_deprecate_at
ena_support = true
force_deregister = var.aws_force_deregister
instance_type = var.aws_instance_type
deprecate_at = local.aws_ami_deprecate_at
ena_support = true
force_deregister = var.aws_force_deregister
instance_type = var.aws_instance_type
launch_block_device_mappings {
delete_on_termination = true
device_name = "/dev/sda1"
Expand Down

0 comments on commit 9ed4028

Please sign in to comment.