Загрузка данных


# /opt/terraform-web/backend/templates/main.tf.j2
  module "cit_vm" {
    source             = "git::git@gitlab.amur-cit.ru:terraform/vm-maker.git//modules/cit_vm_windows/"
    template_name      = "golden-template-win10"
    vsphere_datastore  = "DS06_Common38_SSD"
    net_name           = "DS_02-1219_TerraForm_TO"
    workgroup          = "WORKGROUP"
    windows_time_zone  = 250
    admin_password     = "Qwerty123"
    cituser_password   = "Qwerty123"
    force_password_change = true

    tags = [
      { category = "Year", name = "2026" },
      { category = "Owner", name = "CIT_TO" }
    ]

    hosts = [
      {
        host_name    = "dcn03srv044"
        vm_name      = "dcn03srv044_TESTING"
        service_name = "WIN_TEST"
        distr_name   = "WIN10"
        cpu          = 2
        mem          = 4096
        disk_size    = 50
        roles = {
          TF_ANSIBLE_ROLE_RESETPASSW = "true"
        }

        disks = [
          { size = "50", letter = "D" }
        ]
      }
    ]
  }

  output "instance_credentials" {
    value = module.cit_vm.instance_credentials
  }