Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

bboykov/terraform-aws-filter-ami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filter AMI module

Wraps up the aws_ami data source.

Usage

Typical usage is without any argumets.

module "ubuntu_lastest_ami" {
  source = "github.com/bboykov/terraform-aws-filter-ami"
}

output "ami_id" {
  value = "${module.ubuntu_lastest_ami.id}"
}

Examples

See the examples directory.

Inputs

Name Description Type Default Required
name Limit search to specific starting AMI name string string ubuntu-bionic-18.04-amd64-server no
owners Limit search to specific AMI owners. Default is Ubuntu and self list <list> no
root_device_type The type of root device (ie: ebs or instance-store). string ebs no
virtualization_type The type of virtualization of the AMI (ie: hvm or paravirtual). string hvm no

Outputs

Name Description
id The ID of the found AMI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages