oci_capacity_management_occ_customer_group

This resource provides the Occ Customer Group resource in Oracle Cloud Infrastructure Capacity Management service.

Create customer group.

Example Usage

resource "oci_capacity_management_occ_customer_group" "test_occ_customer_group" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.occ_customer_group_display_name

	#Optional
	customers_list {
		#Required
		display_name = var.occ_customer_group_customers_list_display_name
		tenancy_id = oci_identity_tenancy.test_tenancy.id

		#Optional
		description = var.occ_customer_group_customers_list_description
		status = var.occ_customer_group_customers_list_status
	}
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.occ_customer_group_description
	freeform_tags = {"bar-key"= "value"}
	lifecycle_details = var.occ_customer_group_lifecycle_details
	status = var.occ_customer_group_status
}

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

Import

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

$ terraform import oci_capacity_management_occ_customer_group.test_occ_customer_group "id"