magenx / Magento-2-aws-cluster-terraform

Magento 2 AWS autoscaling cluster with Terraform and Packer or ImageBuilder. Adobe Commerce Cloud alternative. The best ecommerce infrastructure. Drive more sales online. Transparent billing. Developer-friendly. No hidden bottlenecks.
https://www.magenx.com
123 stars 41 forks source link

Packer fails due to instance_metadata_tags #20

Closed youanden closed 2 months ago

youanden commented 2 years ago
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...

magenx commented 2 years ago

probably move it back to launch template will be better

magenx commented 2 years ago

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

youanden commented 2 years ago

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

magenx commented 2 years ago

imagebuilder branch created fastly_v4_imagebuilder