Query ami by id #25521
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Description
aws_ami
data source requiresowners
argument. Buf ifimage-id
is known, it should be query withoutowners
.Motivation
aws_imagebuilder_image
data source can query latest ami. It returnsimage
andaccount_id
. But sometimesaccount_id
is empty. Or AMI public parameters can getimage-id
only.Then
aws_imagebuilder_image_recipe
resource can set ebs parameters. When specify root volume,device_name
is required. But root'sdevice_name
is not fixed, and it depends on ami. It can query onlyaws_ami
data source.New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: