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

ec2_ami: Add support for sharing AMIs on Organizations level or to OUs #970

Closed
1 task done
mfann-or opened this issue Aug 16, 2022 · 2 comments · Fixed by #1690
Closed
1 task done

ec2_ami: Add support for sharing AMIs on Organizations level or to OUs #970

mfann-or opened this issue Aug 16, 2022 · 2 comments · Fixed by #1690
Labels
feature This issue/PR relates to a feature request has_pr module module plugins plugin (any type) waiting_on_contributor Needs help. Feel free to engage to get things unblocked

Comments

@mfann-or
Copy link

Summary

It would be very beneficial to have the ability to share an AMI across an Organization or OUs since AWS has added that ability.

A similar issue was introduced to Packer's Amazon Plugin.

org_arns and ou_arns could be added to the launch_permissions paramater.

Issue Type

Feature Idea

Component Name

ec2_ami

Additional Information

Possible examples if org_arns and ou_arns are added to the launch_permissions parameter.

- name: Allow AMI to be launched across an organization
  amazon.aws.ec2_ami:
    image_id: "{{ instance.image_id }}"
    state: present
    launch_permissions:
      org_arns: ['arn:aws:organizations::123456789012:organization/o-ab12c3ef4']
- name: Allow AMI to be launched across an OU
  amazon.aws.ec2_ami:
    image_id: "{{ instance.image_id }}"
    state: present
    launch_permissions:
      ou_arns: ['some_ou_arn_here']

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link

Files identified in the description:

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
Copy link

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type) labels Aug 16, 2022
@jillr jillr added waiting_on_contributor Needs help. Feel free to engage to get things unblocked and removed needs_triage labels Aug 23, 2022
@mandar242 mandar242 removed the waiting_on_contributor Needs help. Feel free to engage to get things unblocked label Aug 7, 2023
@ansibullbot ansibullbot added has_pr waiting_on_contributor Needs help. Feel free to engage to get things unblocked labels Aug 7, 2023
softwarefactory-project-zuul bot pushed a commit that referenced this issue Sep 11, 2023
…1690) (#1735)

[PR #1690/c51c2255 backport][stable-6] ec2_ami: Add support for OrganizationArn and OrganizationalUnitArn

This is a backport of PR #1690 as merged into main (c51c225).
SUMMARY

Fixes #970
Added support for OrganizationArn and OrganizationalUnitArn in launch permissions.

ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_ami
ADDITIONAL INFORMATION



https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html

Reviewed-by: Mark Chappell
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Sep 18, 2023
…ble-collections#970)

redshift_info - fix invalid import path for botocore exceptions

Depends-On: ansible-collections#979
SUMMARY



Fix invalid import path for botocore exceptions
Fixes ansible-collections#968

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
redshift_info

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Sep 18, 2023
…ble-collections#970)

redshift_info - fix invalid import path for botocore exceptions

Depends-On: ansible-collections#979
SUMMARY



Fix invalid import path for botocore exceptions
Fixes ansible-collections#968

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
redshift_info

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 24, 2023
…ble-collections#970)

redshift_info - fix invalid import path for botocore exceptions

Depends-On: ansible-collections#979
SUMMARY



Fix invalid import path for botocore exceptions
Fixes ansible-collections#968

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
redshift_info

Reviewed-by: Mark Woolley <[email protected]>
Reviewed-by: Alina Buzachis <None>
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 has_pr module module plugins plugin (any type) waiting_on_contributor Needs help. Feel free to engage to get things unblocked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants