variables.tf 978 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //------------Служебные параметры terrafromf
  2. variable "token" {
  3. description = "Yandex Cloud security OAuth token"
  4. default = "" #generate yours by this https://cloud.yandex.ru/docs/iam/concepts/authorization/oauth-token
  5. }
  6. variable "folder_id" {
  7. description = "Yandex Cloud Folder ID where resources will be created"
  8. default = "" #yc config get folder-id
  9. }
  10. variable "cloud_id" {
  11. description = "Yandex Cloud ID where resources will be created"
  12. default = "" #yc config get cloud-id
  13. }
  14. //------------
  15. variable "zones" {
  16. description = "Yandex Cloud default Zone for provisoned resources"
  17. type = list(string)
  18. default = ["ru-central1-a", "ru-central1-b"]
  19. }
  20. variable "network_names" {
  21. description = "Yandex Cloud default Zone for provisoned resources"
  22. type = list(string)
  23. default = ["a", "b"]
  24. }
  25. variable "app_cidrs" {
  26. type = list(string)
  27. default = ["192.168.1.0/24", "172.17.0.0/24"]
  28. }