Dynamic Resource Group

A Dynamic Resource Group in Oracle Cloud Infrastructure (OCI) is a logical group of resources that are defined by matching rules rather than static membership. Instead of manually adding resources, you create conditions based on resource attributes, and any resource that meets those conditions automatically becomes part of the group. This is commonly used with IAM policies to grant permissions to resources that match specific criteria, such as instances with certain tags or running in specific compartments, making access control more flexible and easier to manage at scale.

oci.identitydomains_dynamic_resource_group

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_idcorestringCompartment containing the resource. Used for Access control, logical grouping, and authorization boundaries.
compartment_ocidcorestringThe value to assign to the compartment_ocid property of this DynamicResourceGroup.
created_atcoretimestampTime when the resource has been created.
delete_in_progresscoreboolThe value to assign to the delete_in_progress property of this DynamicResourceGroup.
descriptioncorestringThe value to assign to the description property of this DynamicResourceGroup.
domain_ocidcorestringThe value to assign to the domain_ocid property of this DynamicResourceGroup.
dynamic_group_app_rolescorejsonThe value to assign to the dynamic_group_app_roles property of this DynamicResourceGroup.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Instance.
grantscorejsonThe value to assign to the grants property of this DynamicResourceGroup.
idcorestringThe value to assign to the id property of this DynamicResourceGroup.
idcs_created_bycorejsonThe value to assign to the idcs_created_by property of this DynamicResourceGroup.
idcs_last_modified_bycorejsonThe value to assign to the idcs_last_modified_by property of this DynamicResourceGroup.
idcs_last_upgraded_in_releasecorestringThe value to assign to the idcs_last_upgraded_in_release property of this DynamicResourceGroup.
idcs_prevented_operationscorearray<string>The value to assign to the idcs_prevented_operations property of this DynamicResourceGroup. Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
matching_rulecorestringThe value to assign to the matching_rule property of this DynamicResourceGroup.
metacorejsonThe value to assign to the meta property of this DynamicResourceGroup.
namecorestringThe name of this resource.
ocidcorestringThe value to assign to the ocid property of this DynamicResourceGroup.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
schemascorearray<string>The value to assign to the schemas property of this DynamicResourceGroup.
tagscorehstore_csvThe value to assign to the tags property of this DynamicResourceGroup.
tenancy_ocidcorestringThe value to assign to the tenancy_ocid property of this DynamicResourceGroup.
time_createdcoretimestampThe value to assign to the time_created property of this Instance.
updated_atcoretimestampTime when the resource has been updated the last time.
zone_idcorestringThe zone this resource resides within.