You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Required) 4 character string defining the environment name prefix for the VM
string
n/a
yes
group
(Required) Character string defining the group for the target subscription
string
n/a
yes
location
Azure location for the VM
string
"canadacentral"
no
project
(Required) Character string defining the project for the target subscription
string
n/a
yes
resource_groups
(Required) Resource group object for the VM
any
{}
no
serverType
3 character string defining the server type for the VM
string
"SRV"
no
subnets
(Required) List of subnet objects for the VM
any
n/a
yes
tags
Tags that will be applied to every associated VM resource
map(string)
{}
no
userDefinedString
(Required) User defined portion value for the name of the VM.
string
n/a
yes
user_data
Base64 encoded file representing user data script for the VM
any
null
no
linux_VM
Object containing all VM parameters
any
{}
no
Outputs
Name
Description
linux_vm_id
Outputs the id of the VM
linux_vm_name
Outputs the name of the VM
linux_vm_object
Outputs the entire VM object
Admin password
The administrator password can be automatically generated by terraform or can be set by the user. In the case of a generated password, it will be stored in the subscription key vault. Please also note that an admin password is not mutually exclusive with admin passwords.
Here are the rules for the admin password:
A generated password by terraform wil be used IF RBAC authorization is enabled on the subscription keyvault AND password_overwrite it set to false AND disable_password_authorization is set to false
A user chosen password will be used IF RBAC authorization is disabled on the subscription keyvault OR password_overwrite is set to true AND disable_password_authentication is set to false
No password will be configured if disable_password_authentication is set to true. In this case, an admin ssh key needs to be configured.