variables.tf 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. variable "token" {
  2. description = "Yandex Cloud security OAuth token"
  3. default = "nope" #generate yours by this https://cloud.yandex.ru/docs/iam/concepts/authorization/oauth-token
  4. }
  5. variable "folder_id" {
  6. description = "infra folder for main resources"
  7. default = "enter your folder id"
  8. }
  9. variable "cloud_id" {
  10. description = "Yandex Cloud ID where resources will be created"
  11. default = "there is cloud id"
  12. }
  13. variable "public_key_path" {
  14. description = "Path to ssh public key, which would be used to access workers"
  15. default = "~/.ssh/id_rsa.pub"
  16. }
  17. variable "dev_folder_id" {
  18. description = "folder for dev environment"
  19. default = "enter your dev folder id"
  20. }
  21. variable "stage_folder_id" {
  22. description = "folder for stage environment"
  23. default = "enter your stage folder id"
  24. }
  25. variable "prod_folder_id" {
  26. description = "folder for stage environment"
  27. default = "enter your stage folder id"
  28. }
  29. variable "bastion_whitelist_ip" {
  30. type = list(string)
  31. default = ["1.1.1.1/32"]
  32. }