oci_identity_domains_dynamic_resource_group

This resource provides the Dynamic Resource Group resource in Oracle Cloud Infrastructure Identity Domains service.

Create a Dynamic Resource Group.

Example Usage

resource "oci_identity_domains_dynamic_resource_group" "test_dynamic_resource_group" {
	#Required
	display_name = var.dynamic_resource_group_display_name
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	matching_rule = var.dynamic_resource_group_matching_rule
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:DynamicResourceGroup"]

	#Optional
	attribute_sets = []
	attributes = ""
	authorization = var.dynamic_resource_group_authorization
	description = var.dynamic_resource_group_description
	id = var.dynamic_resource_group_id
	ocid = var.dynamic_resource_group_ocid
	resource_type_schema_version = var.dynamic_resource_group_resource_type_schema_version
	tags {
		#Required
		key = var.dynamic_resource_group_tags_key
		value = var.dynamic_resource_group_tags_value
	}
	urnietfparamsscimschemasoracleidcsextension_oci_tags {

		#Optional
		defined_tags {
			#Required
			key = var.dynamic_resource_group_urnietfparamsscimschemasoracleidcsextension_oci_tags_defined_tags_key
			namespace = var.dynamic_resource_group_urnietfparamsscimschemasoracleidcsextension_oci_tags_defined_tags_namespace
			value = var.dynamic_resource_group_urnietfparamsscimschemasoracleidcsextension_oci_tags_defined_tags_value
		}
		freeform_tags {
			#Required
			key = var.dynamic_resource_group_urnietfparamsscimschemasoracleidcsextension_oci_tags_freeform_tags_key
			value = var.dynamic_resource_group_urnietfparamsscimschemasoracleidcsextension_oci_tags_freeform_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 Dynamic Resource Group * update - (Defaults to 20 minutes), when updating the Dynamic Resource Group * delete - (Defaults to 20 minutes), when destroying the Dynamic Resource Group

Import

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

$ terraform import oci_identity_domains_dynamic_resource_group.test_dynamic_resource_group "idcsEndpoint/{idcsEndpoint}/dynamicResourceGroups/{dynamicResourceGroupId}"