/terraform-azurerm-ad-create

This module quickly creates an Azure Windows VM and creates an Active Directory Forest using a VM Extension

Primary LanguageHCLApache License 2.0Apache-2.0

terraform-azurerm-ad-create

This module quickly creates an Azure Windows Server 2012 R2 VM and creates an Active Directory Forest using a Virtual Machine Extension in Terraform (using the azurerm_virtual_machine_extension resource).

Notes

  • This module is intended as an example of creating a VM and Active Directory Domain, and it is not recommended for production use as the configuration has been simplified for demo purposes, e.g.:
    • The Active Directory Forest has a single node, for demonstration purposes
    • There's no security rules configured on the network, so everything's open etc.
  • The numbering on the files within the modules below have no effect on which order the resources are created in - it's purely to make the examples easier to understand.

Running this Example

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

Modules

This module makes use of 1 nested module:

Authors

Originally created by ghostinthewires