mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
make generate
This commit is contained in:
@@ -39,15 +39,6 @@ resource "netbird_dns_record" "mail" {
|
||||
content = "mail.external.com"
|
||||
ttl = 3600
|
||||
}
|
||||
|
||||
# Root domain record
|
||||
resource "netbird_dns_record" "root" {
|
||||
zone_id = netbird_dns_zone.example.id
|
||||
name = "example.local"
|
||||
type = "A"
|
||||
content = "192.168.1.1"
|
||||
ttl = 300
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
|
||||
@@ -13,15 +13,6 @@ Create and manage custom DNS zones. See [NetBird Docs](https://docs.netbird.io/h
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "netbird_dns_zone" "example" {
|
||||
name = "example-zone"
|
||||
domain = "example.local"
|
||||
enabled = true
|
||||
enable_search_domain = false
|
||||
distribution_groups = []
|
||||
}
|
||||
|
||||
# DNS Zone with distribution groups
|
||||
resource "netbird_dns_zone" "internal" {
|
||||
name = "internal-zone"
|
||||
domain = "internal.company.com"
|
||||
|
||||
Reference in New Issue
Block a user