Tag Default in Oracle Cloud Infrastructure is a resource that automatically applies a predefined tag key and value to all new resources within a compartment. It helps enforce consistent tagging policies across an organization by ensuring that every resource created inherits the specified tags without requiring manual input. This simplifies cost tracking, organization, and governance.

oci.identity_tag_default

Fields

TitleIDTypeData TypeDescription
_keycorestring
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this TagDefault.
created_atcoretimestampTime when the resource has been created.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Instance.
idcorestringThe value to assign to the id property of this TagDefault.
is_requiredcoreboolThe value to assign to the is_required property of this TagDefault.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this TagDefault. Allowed values for this property are: "ACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
lockscorejsonThe value to assign to the locks property of this TagDefault.
namecorestringThe name of this resource.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
tag_definition_idcorestringThe value to assign to the tag_definition_id property of this TagDefault.
tag_definition_namecorestringThe value to assign to the tag_definition_name property of this TagDefault.
tag_namespace_idcorestringThe value to assign to the tag_namespace_id property of this TagDefault.
tagscorehstore_csv
time_createdcoretimestampThe value to assign to the time_created property of this TagDefault.
updated_atcoretimestampTime when the resource has been updated the last time.
valuecorestringThe value to assign to the value property of this TagDefault.
zone_idcorestringThe zone this resource resides within.