oci_identity_tag_default

This resource provides the Tag Default resource in Oracle Cloud Infrastructure Identity service.

Creates a new tag default in the specified compartment for the specified tag definition.

If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag defualt). If no value is set, resource creation is blocked.

Example Usage

resource "oci_identity_tag_default" "test_tag_default" {
	#Required
	compartment_id = var.compartment_id
	tag_definition_id = oci_identity_tag_definition.test_tag_definition.id
	value = var.tag_default_value

	#Optional
	is_required = var.tag_default_is_required
}

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

Import

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

$ terraform import oci_identity_tag_default.test_tag_default "id"