Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packer fails due to instance_metadata_tags #20

Open
youanden opened this issue Mar 24, 2022 · 4 comments
Open

Packer fails due to instance_metadata_tags #20

youanden opened this issue Mar 24, 2022 · 4 comments

Comments

@youanden
Copy link

youanden commented Mar 24, 2022

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:

hashicorp/packer-plugin-amazon#205

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

@magenx
Copy link
Owner

magenx commented Mar 24, 2022

probably move it back to launch template will be better

@magenx
Copy link
Owner

magenx commented Mar 25, 2022

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

@youanden
Copy link
Author

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

@magenx
Copy link
Owner

magenx commented Apr 1, 2022

imagebuilder branch created fastly_v4_imagebuilder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants