oci_redis_oci_cache_config_set

This resource provides the Oci Cache Config Set resource in Oracle Cloud Infrastructure Redis service.

Create a new Oracle Cloud Infrastructure Cache Config Set for the given Oracle Cloud Infrastructure cache engine version.

Example Usage

resource "oci_redis_oci_cache_config_set" "test_oci_cache_config_set" {
	#Required
	compartment_id = var.compartment_id
	configuration_details {
		#Required
		items {
			#Required
			config_key = var.oci_cache_config_set_configuration_details_items_config_key
			config_value = var.oci_cache_config_set_configuration_details_items_config_value
		}
	}
	display_name = var.oci_cache_config_set_display_name
	software_version = var.oci_cache_config_set_software_version

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.oci_cache_config_set_description
	freeform_tags = {"bar-key"= "value"}
}

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 Oci Cache Config Set * update - (Defaults to 20 minutes), when updating the Oci Cache Config Set * delete - (Defaults to 20 minutes), when destroying the Oci Cache Config Set

Import

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

$ terraform import oci_redis_oci_cache_config_set.test_oci_cache_config_set "id"