/domain-controller

A simple domain controller hosted on a Windows VM to simulate an onprem environment

Primary LanguageHCL

https://www.youtube.com/watch?v=1vWSKLX0Xrk

https://activedirectorypro.com/deploy-domain-controller-azure/

https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/install-active-directory-domain-services--level-100-

https://docs.microsoft.com/en-us/powershell/module/addsdeployment/install-addsforest?view=windowsserver2022-ps

https://cloudblogs.microsoft.com/industry-blog/en-gb/technetuk/2016/06/08/setting-up-active-directory-via-powershell/

https://activedirectorypro.com/deploy-domain-controller-azure/

Windows Admin Center https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/azure/manage-vm

Requirements

Name Version
azurerm 3.20.0

Providers

Name Version
azurerm 3.20.0

Modules

No modules.

Resources

Name Type
azurerm_network_interface.dc resource
azurerm_network_security_group.dc resource
azurerm_public_ip.dc resource
azurerm_resource_group.dc resource
azurerm_subnet.dc resource
azurerm_subnet_network_security_group_association.main resource
azurerm_virtual_machine_extension.dc resource
azurerm_virtual_network.name resource
azurerm_windows_virtual_machine.dc resource

Inputs

Name Description Type Default Required
admin_password (Required) The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created. string "" no
admin_username (Required) The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created. string "" no
domain n/a string "contosso.org" no
domain_net_bios_name n/a string "CONTOSSO" no
environment (Required) The environment where the workload should exist. string "dev" no
location (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. string "eastus2" no
private_ip n/a string "10.0.0.5" no
vm_size (Required) The SKU which should be used for this Virtual Machine, such as Standard_F2 string "Standard_B1s" no
workload (Required) The prefix of the workload delployed. string "dc" no

Outputs

No outputs.