feat: add DNS record resource and datasources (#25)
* add DNS record * revamp tests * lint * cleanup * feat dns test * chore: add DNS Record tests * linting * f
This commit is contained in:
committed by
GitHub
parent
325d7b7f20
commit
e7164c0460
11
examples/resources/unifi_dns_record/resource.tf
Normal file
11
examples/resources/unifi_dns_record/resource.tf
Normal file
@@ -0,0 +1,11 @@
|
||||
resource "unifi_dns_record" "a_record" {
|
||||
name = "example.mydomain.com"
|
||||
type = "A"
|
||||
record = "192.168.1.190"
|
||||
}
|
||||
|
||||
resource "unifi_dns_record" "cname_record" {
|
||||
name = "example.mydomain.com"
|
||||
type = "CNAME"
|
||||
record = "example.com"
|
||||
}
|
||||
Reference in New Issue
Block a user