-
Notifications
You must be signed in to change notification settings - Fork 49
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
Overrides for tags and run_tags #303
Conversation
Hi @guikcd, thank you for opening this pull request! I have left a few minor comments/clarifying questions. |
I've fixed my errors.
The ecs-init is now archived and migrated to ecs-agent since September: https://github.com/aws/amazon-ecs-init agent version for ecs-init is now latest: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-install.html
|
Thanks @guikcd, the changes look good to me. I have approved this pull request. The HTTP/1.1 403 Forbidden you are running into when trying to access https://s3.eu-west-1.amazonaws.com/amazon-ecs-agent-eu-west-1/ecs-init-1.89.1-1.amzn2023.x86_64.rpm is due to ecs-init-1.89.1-1 release still being ongoing at this time (it has not yet reached that bucket). Once that release is complete, it should be accessible. |
Summary
Support
tags
and/orrun_tags
in overrides.auto.pkrvars.hcl:Before this PR, users need to identity AMI and manually tags the resulted AMI.
Closes: #31
Implementation details
Define a variable for tags and run_tags for overrides
Then for each variant:
Testing
Building AMIs without overriding these tags are OK
Building AMIs with these tags are OK:
New tests cover the changes: yes
Description for the changelog
Feature: Support user provided tags and run_tags.
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.