This module quickly joins a VM to an existing Active Directory Domain using a Virtual Machine Extension in Terraform (using the azurerm_virtual_machine_extension resource).
Initialize the modules (and download the Azure Provider) by running terraform init
:
$ terraform init
In order to run this example you'll need some kind of credentials configured - either a Service Principal or to be logged into the Azure CLI. You can find out more about this on the Azure Provider overview page
Once you've initialized the Provider - you can run the sample by running:
$ terraform apply
Originally created by ghostinthewires