GSLabDev / terraform-provider-ad

Automates the Active Directory resource creation during Infrastructure build using Terraform Provider.
Mozilla Public License 2.0
61 stars 31 forks source link

Support Create/Delete DNS records in AD DNS Server #2

Closed archmangler closed 6 years ago

archmangler commented 6 years ago

Does this module support creation/removal of DNs entries in zones managed by awindows AD DNS server? For example, I'm using powershell as follows:

add-DnsServerResourceRecordA -ComputerName $dnsServer -Name $shortName -ZoneName $domain -AllowUpdateAny -IPv4Address $ip -ErrorAction Stop

This creates DNS entry on the domain server, however wonder if the AD terraform provider could support this, so I don't have to wrap powershell in Terraform?

bhushan-rane commented 6 years ago

@archmangler this provider is for AD Join and Disjoin. This doesn't support DNS Record creation / deletion.

There are another DNS Management Terraform providers available on Terraform Provider documentation list, you can refer those.