variables.tf 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. variable "opensearch_pass" {
  2. description = "Пароль для аутентификации в Opensearch"
  3. default = ""
  4. }
  5. variable "opensearch_user" {
  6. description = "Пользователь для аутентификации в Opensearch"
  7. default = ""
  8. }
  9. variable "opensearch_dashboard_address" {
  10. description = "FQDN-адрес инсталляции Opensearch вида https://c-xxx.rw.mdb.yandexcloud.net"
  11. default = ""
  12. }
  13. variable "opensearch_node_address" {
  14. description = "FQDN-адрес инсталляции Opensearch вида https://rc1a-xxx.mdb.yandexcloud.net"
  15. default = ""
  16. }
  17. variable "subnet_id" {
  18. description = "subnet_id where you need to place your coi_instance. Need to connect to Opensearch host"
  19. default = ""
  20. }
  21. variable "token" {
  22. description = "Yandex.Cloud security OAuth token либо ключ сервисного аккаунта"
  23. default = "key.json" # generate yours by this https://cloud.yandex.ru/docs/iam/concepts/authorization/oauth-token
  24. }
  25. variable "folder_id" {
  26. description = "Yandex.Cloud Folder ID where resources will be created"
  27. default = "xxxxxx" # yc config get folder-id
  28. }
  29. variable "cloud_id" {
  30. description = "Yandex.Cloud ID where resources will be created"
  31. default = "xxxxxx" # yc config get cloud-id
  32. }
  33. # variable "zones" {
  34. # description = "Yandex.Cloud default Zone for provisoned resources"
  35. # type = list(string)
  36. # default = ["ru-central1-a", "ru-central1-b", "ru-central1-c"]
  37. # }
  38. # variable "network_names" {
  39. # description = "Yandex Cloud default Zone for provisoned resources"
  40. # type = list(string)
  41. # default = ["a", "b", "c"]
  42. # }
  43. # variable "app_cidrs" {
  44. # type = list(string)
  45. # default = ["192.168.1.0/24", "192.168.50.0/24", "192.168.70.0/24"]
  46. # }
  47. # variable "var_elk_node_preset" {
  48. # default = "s2.micro"
  49. # }
  50. # variable "var_elk_node_disk_size" {
  51. # default = "60"
  52. # }