variables.tf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. variable "vpc_id" {
  2. }
  3. variable "subnet_public" {
  4. }
  5. variable "allowed_network" {
  6. description = "The CIDR of network that is allowed to access the bastion host"
  7. }
  8. variable "region" {
  9. description = "The AWS region to create things in."
  10. default = "us-west-2"
  11. }
  12. variable "key_name" {
  13. description = "Name of the keypair to use in EC2."
  14. default = "terraform"
  15. }
  16. variable "key_path" {
  17. descriptoin = "Path to your private key."
  18. default = "~/.ssh/id_rsa"
  19. }
  20. variable "amazon_amis" {
  21. description = "Amazon Linux AMIs"
  22. default = {
  23. us-west-2 = "ami-b5a7ea85"
  24. }
  25. }
  26. variable "amazon_nat_amis" {
  27. description = "Amazon Linux NAT AMIs"
  28. default = {
  29. us-west-2 = "ami-bb69128b"
  30. }
  31. }
  32. variable "centos7_amis" {
  33. description = "CentOS 7 AMIs"
  34. default = {
  35. us-east-1 = "ami-96a818fe"
  36. us-west-2 = "ami-c7d092f7"
  37. us-west-1 = "ami-6bcfc42e"
  38. eu-west-1 = "ami-e4ff5c93"
  39. ap-southeast-1 = "ami-aea582fc"
  40. ap-southeast-2 = "ami-bd523087"
  41. ap-northeast-1 = "ami-89634988"
  42. sa-east-1 = "ami-bf9520a2"
  43. }
  44. }