oci_identity_domains_app_role

This resource provides the App Role resource in Oracle Cloud Infrastructure Identity Domains service.

Create an AppRole

Example Usage

resource "oci_identity_domains_app_role" "test_app_role" {
	#Required
	app {
		#Required
		value = oci_identity_domains_app.test_app.id
	}
	display_name = var.app_role_display_name
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:AppRole"]

	#Optional
	admin_role = var.app_role_admin_role
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.app_role_authorization
	available_to_clients = var.app_role_available_to_clients
	available_to_groups = var.app_role_available_to_groups
	available_to_users = var.app_role_available_to_users
	description = var.app_role_description
	id = var.app_role_id
	legacy_group_name = "legacyGroupName"
	ocid = var.app_role_ocid
	public = var.app_role_public
	resource_type_schema_version = var.app_role_resource_type_schema_version
	tags {
		#Required
		key = var.app_role_tags_key
		value = var.app_role_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 App Role * update - (Defaults to 20 minutes), when updating the App Role * delete - (Defaults to 20 minutes), when destroying the App Role

Import

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

$ terraform import oci_identity_domains_app_role.test_app_role "idcsEndpoint/{idcsEndpoint}/appRoles/{appRoleId}"