How do I resolve tags that aren’t visible on a distributed AMI in EC2 Image Builder for Linux?

2 minute read
0

I want to resolve tags that aren’t visible on a distributed AMI in EC2 Image Builder for Linux.

Short description

To distribute an AMI in EC2 Image Builder for Linux, you can use either the Launch Permissions option or the Target Account option

You specify these options in the Distribution Settings. If you use the Launch Permissions option to distribute the image, then tags aren't visible in the target account. If you use the Target Account option, then tags are associated to the images in the target account.

Note: Images that are in the target account are owned by the target account. Also, these images are a copy of the golden image in the source account. Tags that are specified in the configuration of the distribution settings are associated with the image in the target account.

Resolution

To resolve tags that aren't visible on a distributed AMI in EC2 Image Builder for Linux, use the Target Account option when you distribute the image. Complete the following steps:

  1. Check the Distribution Settings of the EC2 Image Builder pipeline.
  2. Check the distribution option that's selected. If Launch Permissions is selected, remove the target account ID from this option. Then, specify the target account IDs in the Target Account option. This allows the tags that aren't visible to be associated to the image in the target account.
  3. Check that the tags are visible on the image.

For more information, see Create and update AMI distribution configurations.

Related information

ModifyImageAttribute

CopyImage

AWS OFFICIAL
AWS OFFICIALUpdated a month ago