oci_dns_view

This resource provides the View resource in Oracle Cloud Infrastructure DNS service.

Creates a new view in the specified compartment.

Example Usage

resource "oci_dns_view" "test_view" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    scope = "PRIVATE"
    defined_tags = var.view_defined_tags
    display_name = var.view_display_name
    freeform_tags = var.view_freeform_tags
}

Argument Reference

The following arguments are supported:

* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the View * update - (Defaults to 20 minutes), when updating the View * delete - (Defaults to 20 minutes), when destroying the View

Import

Views can be imported using their OCID, e.g.

$ terraform import oci_dns_view.test_view "id"