packer-plugin-amazon icon indicating copy to clipboard operation
packer-plugin-amazon copied to clipboard

[BUG] Can't launching non EBS builders with a specific dedicated host

Open arantesxyz opened this issue 7 months ago • 1 comments

Description

When building a non EBS instance with the following code it fails with InsufficientHostCapacity

placement {
  tenancy = "host"
  host_id = var.host_id
}

The cloudtrail logs shows the id was never sent to AWS. And looking at the code looks like it was missing , this PR fixes it.

Rollback Plan

If a change needs to be reverted, we will roll out an update to the code within 7 days. Just reverting the PR should be fine.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain. No.

arantesxyz avatar Jul 02 '25 17:07 arantesxyz

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] avatar Jul 02 '25 17:07 hashicorp-cla-app[bot]