inputs.tf 295 B

12345678910111213141516
  1. data "aws_ami" "re-ami" {
  2. most_recent = true
  3. name_regex = "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. }