oci_dns_action_create_zone_from_zone_file

This resource provides the Action Create Zone From Zone File resource in Oracle Cloud Infrastructure DNS service.

Creates a new zone from a zone file in the specified compartment.

After the zone has been created, it should be further managed by importing it to an oci_dns_zone resource.

Example Usage

resource "oci_dns_action_create_zone_from_zone_file" "test_action_create_zone_from_zone_file" {
	#Required
	create_zone_from_zone_file_details = var.action_create_zone_from_zone_file_create_zone_from_zone_file_details
	compartment_id = var.compartment_id

	#Optional
	scope = var.action_create_zone_from_zone_file_scope
	view_id = oci_dns_view.test_view.id
}

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 Action Create Zone From Zone File * update - (Defaults to 20 minutes), when updating the Action Create Zone From Zone File * delete - (Defaults to 20 minutes), when destroying the Action Create Zone From Zone File

Import

ActionCreateZoneFromZoneFile can be imported using the id, e.g.

$ terraform import oci_dns_action_create_zone_from_zone_file.test_action_create_zone_from_zone_file "id"