oci_identity_domains_network_perimeter

This resource provides the Network Perimeter resource in Oracle Cloud Infrastructure Identity Domains service.

Create a NetworkPerimeter

Example Usage

resource "oci_identity_domains_network_perimeter" "test_network_perimeter" {
	#Required
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	ip_addresses {
		#Required
		value = var.network_perimeter_ip_addresses_value

		#Optional
		type = var.network_perimeter_ip_addresses_type
		version = var.network_perimeter_ip_addresses_version
	}
	name = var.network_perimeter_name
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:NetworkPerimeter"]

	#Optional
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.network_perimeter_authorization
	description = var.network_perimeter_description
	external_id = "externalId"
	id = var.network_perimeter_id
	ocid = var.network_perimeter_ocid
	resource_type_schema_version = var.network_perimeter_resource_type_schema_version
	tags {
		#Required
		key = var.network_perimeter_tags_key
		value = var.network_perimeter_tags_value
	}
}

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 Network Perimeter * update - (Defaults to 20 minutes), when updating the Network Perimeter * delete - (Defaults to 20 minutes), when destroying the Network Perimeter

Import

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

$ terraform import oci_identity_domains_network_perimeter.test_network_perimeter "idcsEndpoint/{idcsEndpoint}/networkPerimeters/{networkPerimeterId}"