vars.tf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. variable "vmray_worker_instance_count" {
  2. description = "How many workers to build. These are expensive."
  3. type = number
  4. }
  5. variable "vmray_server_opt_vmray_size" {
  6. description = "Size of /opt/vmray directory on the server."
  7. type = number
  8. default = 30 # I don't expect images here, so not much space should be required
  9. }
  10. variable "vmray_worker_opt_vmray_size" {
  11. description = "Size of /opt/vmray directory on the worker nodes"
  12. type = number
  13. default = 300 # Stores images, which are ~ 25GB each
  14. }
  15. variable "tags" {
  16. description = "Tags to add to the resource (in addition to global standard tags)"
  17. type = map
  18. default = { }
  19. }
  20. variable "vpc_info" {
  21. description = "A map of information about the VPC to create. Must contain `name` and `cidr`."
  22. type = map
  23. }
  24. variable "instance_types" { type = map }
  25. variable "instance_termination_protection" { type = bool }
  26. variable "standard_tags" { type = map }
  27. variable "dns_info" { type = map }
  28. variable "environment" { type = string }
  29. variable "portal_test_whitelist" { type = list }
  30. variable "trusted_ips" { type = list(string) }
  31. variable "proxy" { type = string }
  32. variable "salt_master" { type = string }
  33. variable "cidr_map" { type = map }
  34. variable "aws_region" { type = string }
  35. variable "aws_partition" { type = string }
  36. variable "aws_partition_alias" { type = string }
  37. variable "aws_account_id" { type = string }
  38. variable "vpc_id" { type = string }
  39. variable "azs" { type = list(string) }
  40. variable "public_subnets" { type = list(string) }
  41. variable "private_subnets" { type = list(string) }
  42. variable "common_services_account" { type = string }
  43. variable "c2_accounts" { type = map }