Skip to content

Data only Terraform module which describes generally used public AMIs.

License

Notifications You must be signed in to change notification settings

yukihira1992/terraform-aws-ami-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-ami-showcase

Data only Terraform module which describes generally used public AMIs.

Usage

module "ami" {
  source = "yukihira1992/ami-showcase/aws"
}

output "amazon_linux_ami" {
  value = module.ami.latest_amazon_linux_image_id
}

output "amazon_linux2_ami" {
  value = module.ami.latest_amazon_linux2_image_id
}

output "ecs_optimized_amazon_linux_ami" {
  value = module.ami.latest_ecs_optimized_amazon_linux_image_id
}

output "ecs_optimized_amazon_linux2_ami" {
  value = module.ami.latest_ecs_optimized_amazon_linux2_image_id
}