Skip to content

ghostinthewires/terraform-azurerm-ad-create

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published