inputs.tf 398 B

123456789101112131415161718192021
  1. data "aws_ami" "re-ami" {
  2. most_recent = true
  3. name_regex = "ubuntu\\/images\\/hvm-ssd\\/ubuntu-bionic-18.04-amd64-server"
  4. # This is Canonical's ID
  5. owners = ["099720109477"]
  6. filter {
  7. name = "root-device-type"
  8. values = ["ebs"]
  9. }
  10. filter {
  11. name = "virtualization-type"
  12. values = ["hvm"]
  13. }
  14. filter {
  15. name = "ena-support"
  16. values = [var.ena-support]
  17. }
  18. }