oci_fleet_software_update_fsu_cycle

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

Creates a new Exadata Fleet Update Cycle.

Example Usage

resource "oci_fleet_software_update_fsu_cycle" "test_fsu_cycle" {
	#Required
	compartment_id = var.compartment_id
	fsu_collection_id = oci_fleet_software_update_fsu_collection.test_fsu_collection.id
	goal_version_details {
		#Required
		type = var.fsu_cycle_goal_version_details_type

		#Optional
		home_policy = var.fsu_cycle_goal_version_details_home_policy
		new_home_prefix = var.fsu_cycle_goal_version_details_new_home_prefix
		software_image_id = oci_core_image.test_image.id
		version = var.fsu_cycle_goal_version_details_version
	}
	type = var.fsu_cycle_type

	#Optional
	apply_action_schedule {
		#Required
		time_to_start = var.fsu_cycle_apply_action_schedule_time_to_start
		type = var.fsu_cycle_apply_action_schedule_type
	}
	batching_strategy {

		#Optional
		is_force_rolling = var.fsu_cycle_batching_strategy_is_force_rolling
		is_wait_for_batch_resume = var.fsu_cycle_batching_strategy_is_wait_for_batch_resume
		percentage = var.fsu_cycle_batching_strategy_percentage
		type = var.fsu_cycle_batching_strategy_type
	}
	defined_tags = {"foo-namespace.bar-key"= "value"}
	diagnostics_collection {

		#Optional
		log_collection_mode = var.fsu_cycle_diagnostics_collection_log_collection_mode
	}
	display_name = var.fsu_cycle_display_name
	freeform_tags = {"bar-key"= "value"}
	is_ignore_missing_patches = var.fsu_cycle_is_ignore_missing_patches
	is_ignore_patches = var.fsu_cycle_is_ignore_patches
	is_keep_placement = var.fsu_cycle_is_keep_placement
	max_drain_timeout_in_seconds = var.fsu_cycle_max_drain_timeout_in_seconds
	stage_action_schedule {
		#Required
		time_to_start = var.fsu_cycle_stage_action_schedule_time_to_start
		type = var.fsu_cycle_stage_action_schedule_type
	}
}

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

Import

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

$ terraform import oci_fleet_software_update_fsu_cycle.test_fsu_cycle "id"