ami.tf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # I'd much rather do a find_ami here.
  2. variable "pavm_byol_ami_id" {
  3. default = {
  4. us-east-1 = "ami-06962643040d7363f"
  5. us-gov-east-1 = "ami-0f0d54de4d1212aae" # 9.1.3
  6. #us-gov-east-1 = "ami-a6dd31d7" # 9.1.2
  7. us-gov-west-1 = "ami-019045558d9d46abe"
  8. # The below are old and suspect
  9. ap-south-1 = "ami-5c187233",
  10. eu-west-1 = "ami-73971600",
  11. ap-southeast-1 = "ami-0c60aa6f",
  12. ap-southeast-2 = "ami-f9c4e79a",
  13. ap-northeast-2 = "ami-fa08c194",
  14. eu-central-1 = "ami-74e5041b",
  15. ap-northeast-1 = "ami-e44b5a8a",
  16. us-west-1 = "ami-acd7aacc",
  17. sa-east-1 = "ami-1d860971",
  18. us-west-2 = "ami-e7be4b87"
  19. }
  20. }
  21. # From their examples:
  22. # data "aws_ami" "panos_firewall_ami" {
  23. # most_recent = "${var.fw_version == "latest" ? true : false}"
  24. # owners = ["679593333241"]
  25. #
  26. # filter {
  27. # name = "name"
  28. # values = ["PA-VM-AWS-${replace(var.fw_version, "/latest/", "")}*"]
  29. # }
  30. #
  31. # filter {
  32. # name = "product-code.type"
  33. # values = ["marketplace"]
  34. # }
  35. #
  36. # filter {
  37. # name = "product-code"
  38. # values = ["${lookup(var.bundles, var.fw_bundle)}"]
  39. # }
  40. #}