inputs.tf 338 B

12345678910111213141516171819
  1. data "aws_caller_identity" "current" {}
  2. data "aws_ami" "re-ami" {
  3. most_recent = true
  4. name_regex = "ubuntu-bionic-18.04-amd64-server"
  5. # This is Canonical's ID
  6. owners = ["099720109477"]
  7. filter {
  8. name = "root-device-type"
  9. values = ["ebs"]
  10. }
  11. filter {
  12. name = "virtualization-type"
  13. values = ["hvm"]
  14. }
  15. }