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

Tag AMI Snapshots #368

Closed
peter-daplyn-mortgagegym-com opened this issue May 17, 2021 · 1 comment · Fixed by #437
Closed

Tag AMI Snapshots #368

peter-daplyn-mortgagegym-com opened this issue May 17, 2021 · 1 comment · Fixed by #437
Assignees
Labels
feature This issue/PR relates to a feature request jira

Comments

@peter-daplyn-mortgagegym-com
SUMMARY

Ability to tag the Snapshot created when creating an AMI from and instance using amazon.aws.ec2_ami module.
Currently only tagging the AMI itself is supported.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

amazon.aws.ec2_ami

ADDITIONAL INFORMATION

Tagging related snapshots as well as images would allow finer-grained permissions for deletion of snapshots by resource tag.

As per the following StackOverflow post, the CLI now has a --tag-specifications option that would allow finer tagging control. https://stackoverflow.com/questions/65409246/tag-name-to-ami-and-its-snapshot
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/create-image.html

@ansibullbot
Copy link

Files identified in the description:
None

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request needs_triage labels May 21, 2021
@alinabuzachis alinabuzachis self-assigned this Jul 16, 2021
jillr pushed a commit to jillr/amazon.aws that referenced this issue Jul 28, 2021
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
ansible-zuul bot pushed a commit that referenced this issue Aug 19, 2021
ec2_ami - ensure tags are propagated to the snapshot(s)

SUMMARY

ec2_ami - ensure tags are propagated to the snapshot(s) when creating an AMI.
Fixes #368
Using --tag-specifications would introduce additional complexity for handling tags within the ec2_ami module. A simple approach would be to ensure tags propagation during AMI creation to the snapshot(s) and then edit snapshot(s) tags using the ec2_tag module.
ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_ami

Reviewed-by: Jill R <None>
Reviewed-by: None <None>
jillr pushed a commit to jillr/amazon.aws that referenced this issue Aug 20, 2021
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
jillr pushed a commit to jillr/amazon.aws that referenced this issue Aug 26, 2021
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
jillr pushed a commit to jillr/amazon.aws that referenced this issue Aug 27, 2021
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 9, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 9, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 9, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 16, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 16, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit that referenced this issue Sep 20, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
GomathiselviS pushed a commit to GomathiselviS/amazon.aws that referenced this issue Sep 20, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this issue Sep 21, 2022
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 24, 2023
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Sep 19, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 9, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 14, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 15, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 16, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 16, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 23, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
mandar242 pushed a commit to mandar242/amazon.aws that referenced this issue Oct 24, 2024
* Bulk migration to module_defaults
* Tests for missing creds/region
* Move dms_identifier and dms_sg_identifier into defaults

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@365b6ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request jira
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants