AWS EBS Builder and IMDSv2

The instance that we are using for packer is being required to enforce the use of IMDSv2. Our credentials are being captured with the following code.

curl >creds.json

Could someone please advise what the code needs to be to support this required metadata function?


Hi @pglickenhaus , the metadata-options will be added to the amazon ebs builders in v1.7.0.