Skip to content

sudoblockio/terraform-aws-ami

Repository files navigation

terraform-aws-ami

This module retrieves AMI information from AWS.

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
  source = "github.com/geometry-labs/terraform-aws-ami"
}

output "ubuntu_16" {
  value = module.defaults.ubuntu_1604_ami_id
}

Examples

Known Issues

No issue is creating limit on this module.

Providers

Name Version
aws n/a

Inputs

No input.

Outputs

Name Description
centos_7_ami_id n/a
ecs_latest_ami_id n/a
ubuntu_1604_ami_id n/a
ubuntu_1804_ami_id n/a
ubuntu_2004_ami_id n/a

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by Geometry Labs

License

Apache 2 Licensed. See LICENSE for full details.