Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 2.04 KB

File metadata and controls

62 lines (48 loc) · 2.04 KB
page_title stackit_dns_zone Data Source - stackit
subcategory
description DNS Zone resource schema.

stackit_dns_zone (Data Source)

DNS Zone resource schema.

Example Usage

data "stackit_dns_zone" "example" {
  project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  zone_id    = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • project_id (String) STACKIT project ID to which the dns zone is associated.

Optional

  • dns_name (String) The zone name. E.g. example.com (must not end with a trailing dot).
  • timeouts (Attributes) (see below for nested schema)
  • zone_id (String) The zone ID.

Read-Only

  • acl (String) The access control list.
  • active (Boolean)
  • contact_email (String) A contact e-mail for the zone.
  • default_ttl (Number) Default time to live.
  • description (String) Description of the zone.
  • expire_time (Number) Expire time.
  • id (String) Terraform's internal data source. ID. It is structured as "project_id,zone_id".
  • is_reverse_zone (Boolean) Specifies, if the zone is a reverse zone or not.
  • name (String) The user given name of the zone.
  • negative_cache (Number) Negative caching.
  • primaries (List of String) Primary name server for secondary zone.
  • primary_name_server (String) Primary name server. FQDN.
  • record_count (Number) Record count how many records are in the zone.
  • refresh_time (Number) Refresh time.
  • retry_time (Number) Retry time.
  • serial_number (Number) Serial number.
  • state (String) Zone state.
  • type (String) Zone type.
  • visibility (String) Visibility of the zone.

Nested Schema for timeouts

Optional:

  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).