oci_identity_domains_mapped_attribute

This resource provides the Mapped Attribute resource in Oracle Cloud Infrastructure Identity Domains service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/identity-domains/latest/MappedAttribute

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity_domains

Replace a Mapped Attribute

Example Usage

resource "oci_identity_domains_mapped_attribute" "test_mapped_attribute" {
	#Required
	direction = var.mapped_attribute_direction
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	idcs_resource_type = var.mapped_attribute_idcs_resource_type
	mapped_attribute_id = oci_identity_domains_mapped_attribute.test_mapped_attribute.id
	ref_resource_id = var.mapped_attribute_ref_resource_id
	ref_resource_type = var.mapped_attribute_ref_resource_type
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:MappedAttribute"]

	#Optional
	attribute_mappings {
		#Required
		idcs_attribute_name = var.mapped_attribute_attribute_mappings_idcs_attribute_name
		managed_object_attribute_name = var.mapped_attribute_attribute_mappings_managed_object_attribute_name

		#Optional
		applies_to_actions = var.mapped_attribute_attribute_mappings_applies_to_actions
		required = var.mapped_attribute_attribute_mappings_required
		saml_format = var.mapped_attribute_attribute_mappings_saml_format
	}
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.mapped_attribute_authorization
	id = var.mapped_attribute_id
	ocid = var.mapped_attribute_ocid
	resource_type_schema_version = var.mapped_attribute_resource_type_schema_version
	tags {
		#Required
		key = var.mapped_attribute_tags_key
		value = var.mapped_attribute_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 Mapped Attribute * update - (Defaults to 20 minutes), when updating the Mapped Attribute * delete - (Defaults to 20 minutes), when destroying the Mapped Attribute

Import

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

$ terraform import oci_identity_domains_mapped_attribute.test_mapped_attribute "idcsEndpoint/{idcsEndpoint}/mappedAttributes/{mappedAttributeId}"