Open
Description
Description
Hi, I'd like to be able to associate an AMI with an existing self-managed AWS license like I can from the AWS console.
Looking at the provider docs, I'm only able to see the option to associate a resource_arn
.
Affected Resource(s) or Data Source(s)
aws_licensemanager_association
Potential Terraform Configuration
data "aws_ami" "example" {
most_recent = true
owners = ["amazon"]
filter {
name = "name"
values = ["amzn-ami-vpc-nat*"]
}
}
resource "aws_licensemanager_association" "ami_example" {
license_configuration_arn = aws_licensemanager_license_configuration.example.arn
ami_ids = [ data.aws_ami.example.id ]
}
References
No response
Would you like to implement the enhancement?
No