mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 01:00:50 -04:00
828 B
828 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| ns1 | NS1: ns1_zone | docs-ns1-resource-zone | Provides a NS1 Zone resource. |
ns1_zone
Provides a NS1 DNS Zone resource. This can be used to create, modify, and delete zones.
Example Usage
# Create a new DNS zone
resource "ns1_zone" "example" {
zone = "terraform.example.io"
ttl = 600
}
Argument Reference
The following arguments are supported:
zone- (Required) The domain name of the zone.link- (Optional) The target zone(domain name) to link to.ttl- (Optional) The SOA TTL.refresh- (Optional) The SOA Refresh.retry- (Optional) The SOA Retry.expiry- (Optional) The SOA Expiry.nx_ttl- (Optional) The SOA NX TTL.primary- (Optional) The primary zones' ip. This makes the zone a secondary.