variables.tf 947 B

123456789101112131415161718192021222324252627282930313233
  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 = "<Ваш cloud>" #yc config get cloud-id
  13. }
  14. //------------
  15. variable "network_cidrs" {
  16. description = "Cidrs for networks"
  17. type = list(string)
  18. default = ["192.168.10.0/24", "192.168.20.0/24", "192.168.30.0/24"]
  19. }
  20. variable "network_naames" {
  21. description = "Yandex Cloud default Zone for provisoned resources"
  22. type = list(string)
  23. default = ["mgmt-subnet", "win-subnet", "lin-subnet"]
  24. }