oci_database_execution_action

This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service.

Creates an execution action resource.

Example Usage

resource "oci_database_execution_action" "test_execution_action" {
	#Required
	action_type = var.execution_action_action_type
	execution_window_id = oci_database_execution_window.test_execution_window.id

	#Optional
	action_members {
		#Required
		member_id = oci_database_member.test_member.id
		member_order = var.execution_action_action_members_member_order

		#Optional
		estimated_time_in_mins = var.execution_action_action_members_estimated_time_in_mins
		status = var.execution_action_action_members_status
		total_time_taken_in_mins = var.execution_action_action_members_total_time_taken_in_mins
	}
	action_params = var.execution_action_action_params
	compartment_id = var.compartment_id
	defined_tags = var.execution_action_defined_tags
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_database_execution_action.test_execution_action "id"