openstack_dns_zone_v2

Manages a DNS zone in the OpenStack DNS Service.

Example Usage

Automatically detect the correct network

resource "openstack_dns_zone_v2" "example_com" {
  name        = "example.com."
  email       = "jdoe@example.com"
  description = "An example zone"
  ttl         = 3000
  type        = "PRIMARY"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

This resource can be imported by specifying the zone ID with optional project ID:

$ terraform import openstack_dns_zone_v2.zone_1 zone_id
$ terraform import openstack_dns_zone_v2.zone_1 zone_id/project_id