oci_fleet_software_update_fsu_collection

This resource provides the Fsu Collection resource in Oracle Cloud Infrastructure Fleet Software Update service.

Creates a new Exadata Fleet Update Collection.

Example Usage

resource "oci_fleet_software_update_fsu_collection" "test_fsu_collection" {
	#Required
	compartment_id = var.compartment_id
	service_type = var.fsu_collection_service_type
	source_major_version = var.fsu_collection_source_major_version
	type = var.fsu_collection_type

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	display_name = var.fsu_collection_display_name
	fleet_discovery {
		#Required
		strategy = var.fsu_collection_fleet_discovery_strategy

		#Optional
		filters {
			#Required
			type = var.fsu_collection_fleet_discovery_filters_type

			#Optional
			entity_type = var.fsu_collection_fleet_discovery_filters_entity_type
			identifiers = var.fsu_collection_fleet_discovery_filters_identifiers
			mode = var.fsu_collection_fleet_discovery_filters_mode
			names = var.fsu_collection_fleet_discovery_filters_names
			operator = var.fsu_collection_fleet_discovery_filters_operator
			tags {
				#Required
				key = var.fsu_collection_fleet_discovery_filters_tags_key
				value = var.fsu_collection_fleet_discovery_filters_tags_value

				#Optional
				namespace = var.fsu_collection_fleet_discovery_filters_tags_namespace
			}
			versions = var.fsu_collection_fleet_discovery_filters_versions
		}
		fsu_discovery_id = oci_fleet_software_update_fsu_discovery.test_fsu_discovery.id
		query = var.fsu_collection_fleet_discovery_query
		targets = var.fsu_collection_fleet_discovery_targets
	}
	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 Fsu Collection * update - (Defaults to 20 minutes), when updating the Fsu Collection * delete - (Defaults to 20 minutes), when destroying the Fsu Collection

Import

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

$ terraform import oci_fleet_software_update_fsu_collection.test_fsu_collection "id"