folders.tf 863 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //Create folders
  2. resource "yandex_resourcemanager_folder" "folder1" {
  3. cloud_id = var.cloud_id
  4. name = var.vpc_name_1
  5. }
  6. resource "yandex_resourcemanager_folder" "folder2" {
  7. cloud_id = var.cloud_id
  8. name = var.vpc_name_2
  9. }
  10. resource "yandex_resourcemanager_folder" "folder3" {
  11. cloud_id = var.cloud_id
  12. name = var.vpc_name_3
  13. }
  14. resource "yandex_resourcemanager_folder" "folder4" {
  15. cloud_id = var.cloud_id
  16. name = var.vpc_name_4
  17. }
  18. resource "yandex_resourcemanager_folder" "folder5" {
  19. cloud_id = var.cloud_id
  20. name = var.vpc_name_5
  21. }
  22. resource "yandex_resourcemanager_folder" "folder6" {
  23. cloud_id = var.cloud_id
  24. name = var.vpc_name_6
  25. }
  26. resource "yandex_resourcemanager_folder" "folder7" {
  27. cloud_id = var.cloud_id
  28. name = var.vpc_name_7
  29. }
  30. resource "yandex_resourcemanager_folder" "folder8" {
  31. cloud_id = var.cloud_id
  32. name = var.vpc_name_8
  33. }