oci_database_management_managed_database_group

This resource provides the Managed Database Group resource in Oracle Cloud Infrastructure Database Management service.

Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.

Example Usage

resource "oci_database_management_managed_database_group" "test_managed_database_group" {
	#Required
	compartment_id = var.compartment_id
	name = var.managed_database_group_name

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.managed_database_group_description
	freeform_tags = {"Department"= "Finance"}
        managed_databases {
          id = var.managed_database_id
        }
}

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

Import

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

$ terraform import oci_database_management_managed_database_group.test_managed_database_group "id"