-
Notifications
You must be signed in to change notification settings - Fork 33
Add launchPermissions field to aws.ec2.image resource #6362
Copy link
Copy link
Closed
Labels
Description
Summary
The aws.ec2.image resource is missing a field to determine whether an AMI is shared with other accounts.
Note: The public field already exists and works correctly.
AWS API Reference
DescribeImageAttributewithAttribute=launchPermissionreturns sharing details
Proposed MQL Field
"launchPermissions": {
Type: types.List(types.Dict),
Doc: "Launch permissions for the image (user IDs and groups)",
}Use Case
// Find AMIs shared with all users
aws.ec2.images.where(launchPermissions.any(Group == "all"))
Additional Context
This field is needed to query AMI sharing configuration beyond just the public/private status.
Reactions are currently unavailable