Skip to content

Commit

Permalink
module update
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarvna committed Jun 8, 2021
1 parent 4f1d1b9 commit 2a253bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Join the Virtual Machines to existing Active Directory Domain

This terraform module to join the virtual machines to an existing Active Directory domain using a Virtual Machine Extension.
Terraform module to join the virtual machines to an existing Active Directory domain using a Virtual Machine Extension.

OU Path to keep your virtual machines to desired Organization Unit. By default, all virtual machines go to Computers OU. You can manage by setting up variable to `ou_path = "OU=Computers,OU=HQ,OU=Europe,DC=Consoto,DC=COM"` a valid OU string.

## Module Usage

```hcl
Expand Down Expand Up @@ -43,7 +45,6 @@ module "domain-join" {
virtual_machine_id = element(concat(module.virtual-machine.windows_virtual_machine_ids, [""]), 0)
active_directory_domain = "consoto.com"
ou_path = "OU=Computers,OU=HQ,OU=Europe,DC=Consoto,DC=COM"
active_directory_username = "azureadmin"
active_directory_password = "P@$$w0rd1234!"
Expand Down Expand Up @@ -99,7 +100,6 @@ Originally created by [Kumaraswamy Vithanala](mailto:kumarvna@gmail.com)

## Other resources

* [Windows Virtual Machine](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/)
* [Active Directory Setup](https://cloudblogs.microsoft.com/industry-blog/en-gb/technetuk/2016/06/08/setting-up-active-directory-via-powershell/)
* [Join a Windows Server virtual machine to an Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template)
* [Virtual Machine Extensions](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows#:~:text=Azure%20virtual%20machine%20(VM)%20extensions,VM%20extension%20can%20be%20used.)
Expand Down
1 change: 0 additions & 1 deletion examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ module "domain-join" {
virtual_machine_id = element(concat(module.virtual-machine.windows_virtual_machine_ids, [""]), 0)
active_directory_domain = "consoto.com"
ou_path = "OU=Computers,OU=HQ,OU=Europe,DC=Consoto,DC=COM"
active_directory_username = "azureadmin"
active_directory_password = "P@$$w0rd1234!"
Expand Down
1 change: 0 additions & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ module "domain-join" {

virtual_machine_id = element(concat(module.virtual-machine.windows_virtual_machine_ids, [""]), 0)
active_directory_domain = "consoto.com"
ou_path = "OU=Computers,OU=HQ,OU=Europe,DC=Consoto,DC=COM"
active_directory_username = "azureadmin"
active_directory_password = "P@$$w0rd1234!"

Expand Down

0 comments on commit 2a253bf

Please sign in to comment.