variables.tf 974 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #-------------------
  2. # VARIABLES
  3. #-------------------
  4. // Variables for providers used in this module
  5. /*variable "aws_access_key" {}
  6. variable "aws_secret_key" {}*/
  7. // Deployer SSH Pub SSH keys
  8. variable "public_key_path" {}
  9. variable "stack_name" {
  10. }
  11. variable "region" {
  12. }
  13. variable "vpc_id" {}
  14. variable "public_subnets" {
  15. type = "list"
  16. }
  17. variable "private_subnets" {
  18. type = "list"
  19. }
  20. variable "private_db_subnets" {
  21. type = "list"
  22. }
  23. /* RDS Options */
  24. variable "rds_allocated_storage" {
  25. type = "string"
  26. default = "10"
  27. }
  28. variable "rds_engine_version" {
  29. type = "string"
  30. default = "9.4.7"
  31. }
  32. /* REDIS/elasticcache option */
  33. variable "engine_version" {
  34. type = "string"
  35. default = "3.2.4"
  36. }
  37. variable "node_type" {
  38. type = "string"
  39. default = "cache.t2.micro"
  40. }
  41. /* Instance Options */
  42. variable "os_release" {
  43. type = "string"
  44. default = "xenial"
  45. }
  46. variable "instance_type" {
  47. type = "string"
  48. default = "t2.micro"
  49. }