Add a secret named vmAdminPassword
to your repo secrets. Follow Setup GitHub repo secrets for details.
Uncomment the HCI VM section in the main.tf
in your first site to add a VM with marketplace Windows server image.
Go to modules/base/variables.hci-vm.global.tf
. You may change the default values for CPU count and memory size by changing the default values.
Go to modules/base/naming.tf
, change the following line to meet your naming conventions.
The VM name should be 1-15 characters which contains only alphanumeric characters and hyphens.
vmName = "${var.siteId}-vm"
- Go to
modules/base/variables.hci-vm.global.tf
. InputdomainToJoin
anddomainTargetOu
of your organization. - Change the
domainJoinUsername
inmodules/base/naming.tf
. - Add
domainJoinPassword
to the repo secrets.
Learn more:
- About troubleshooting