oci_database_autonomous_exadata_infrastructure

This resource provides the Autonomous Exadata Infrastructure resource in Oracle Cloud Infrastructure Database service.

Deprecated To create a new Autonomous Database system on dedicated Exadata Infrastructure, use the CreateCloudExadataInfrastructure and CreateCloudAutonomousVmCluster operations instead. Note that to create an Autonomous VM cluster, you must have an existing Exadata Infrastructure resource to contain the VM cluster.

Note :- Autonomous Exadata Infrastructure is now end-of-life.Please provision cloud autonomous vm cluster instead.

Example Usage

resource "oci_database_autonomous_exadata_infrastructure" "test_autonomous_exadata_infrastructure" {
	#Required
	availability_domain = var.autonomous_exadata_infrastructure_availability_domain
	compartment_id = var.compartment_id
	shape = var.autonomous_exadata_infrastructure_shape
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.autonomous_exadata_infrastructure_display_name
	domain = var.autonomous_exadata_infrastructure_domain
	freeform_tags = {"Department"= "Finance"}
	license_model = var.autonomous_exadata_infrastructure_license_model
	maintenance_window_details {

		#Optional
		custom_action_timeout_in_mins = var.autonomous_exadata_infrastructure_maintenance_window_details_custom_action_timeout_in_mins
		days_of_week {
			#Required
			name = var.autonomous_exadata_infrastructure_maintenance_window_details_days_of_week_name
		}
		hours_of_day = var.autonomous_exadata_infrastructure_maintenance_window_details_hours_of_day
		is_custom_action_timeout_enabled = var.autonomous_exadata_infrastructure_maintenance_window_details_is_custom_action_timeout_enabled
		is_monthly_patching_enabled = var.autonomous_exadata_infrastructure_maintenance_window_details_is_monthly_patching_enabled
		lead_time_in_weeks = var.autonomous_exadata_infrastructure_maintenance_window_details_lead_time_in_weeks
		months {
			#Required
			name = var.autonomous_exadata_infrastructure_maintenance_window_details_months_name
		}
		patching_mode = var.autonomous_exadata_infrastructure_maintenance_window_details_patching_mode
		preference = var.autonomous_exadata_infrastructure_maintenance_window_details_preference
		skip_ru = var.autonomous_exadata_infrastructure_maintenance_window_details_skip_ru
		weeks_of_month = var.autonomous_exadata_infrastructure_maintenance_window_details_weeks_of_month
	}
	nsg_ids = var.autonomous_exadata_infrastructure_nsg_ids
}

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 12 hours), when creating the Autonomous Exadata Infrastructure * update - (Defaults to 12 hours), when updating the Autonomous Exadata Infrastructure * delete - (Defaults to 12 hours), when destroying the Autonomous Exadata Infrastructure

Import

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

$ terraform import oci_database_autonomous_exadata_infrastructure.test_autonomous_exadata_infrastructure "id"