Magento-2-aws-cluster-terraform icon indicating copy to clipboard operation
Magento-2-aws-cluster-terraform copied to clipboard

Packer fails due to instance_metadata_tags

Open youanden opened this issue 2 years ago • 4 comments

Error: Unsupported argument

  on packer.pkr.hcl line 55:
  (source code not available)

An argument named "instance_metadata_tags" is not expected here.

Not sure what to do in this case, because instance_metadata_tags is critical to the instances to support the user script that uses the tags for initializing variables to properly build the AMI...

Looks like the amazon plugin for packer doesn't support it yet:

https://github.com/hashicorp/packer-plugin-amazon/issues/205

You'd need to build it yourself to use it...

youanden avatar Mar 24 '22 03:03 youanden

probably move it back to launch template will be better

magenx avatar Mar 24 '22 10:03 magenx

also good idea to rewrite to imagebuilder to move completely to aws

magenx avatar Mar 25 '22 15:03 magenx

@magenx I might make a PR for that, then.

youanden avatar Mar 25 '22 16:03 youanden

imagebuilder branch created fastly_v4_imagebuilder

magenx avatar Apr 01 '22 08:04 magenx