aws_imagebuilder_distribution_configuration
: Add support for sharing AMIs with Organizations and OUs
#21929
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/imagebuilder
Issues and PRs that pertain to the imagebuilder service.
Community Note
Description
Amazon EC2 Image Builder has added the ability to share Amazon Machine Images (AMIs) with AWS Organizations and Organizational Units (OUs) (rather than just individual accounts) in the image distribution phase of the build process. This means we no longer have to update AMI permissions for individual AWS accounts every time a new account is added.
Extend the existing
aws_imagebuilder_distribution_configuration
resource and data source to enable the use of this capability within Terraform.New or Affected Resource(s)
aws_imagebuilder_distribution_configuration
(affected resource): requires neworganizational_unit_arns
andorganization_arns
sub-arguments within thedistribution.ami_distribution_configuration.launch_permission
argument.aws_imagebuilder_distribution_configuration
(affected data source): requires neworganizational_unit_arns
andorganization_arns
sub-attributes within thedistribution.ami_distribution_configuration.launch_permission
attribute.Potential Terraform Configuration
Requires
aws-sdk-go
version 1.42.12: Bump github.com/aws/aws-sdk-go from 1.42.9 to 1.42.13 #21939References
CreateDistributionConfiguration
: https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateDistributionConfiguration.htmlLaunchPermissionConfiguration
:https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_LaunchPermissionConfiguration.html
aws_ami_launch_permission
: aws_ami_launch_permission: Support for OrganizationalUnitArn.N and OrganizationArn.N #21617The text was updated successfully, but these errors were encountered: