oci_database_exadata_infrastructure

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

Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. To create an Exadata Cloud Service infrastructure resource, use the CreateCloudExadataInfrastructure operation.

Example Usage

resource "oci_database_exadata_infrastructure" "test_exadata_infrastructure" {
	#Required
	admin_network_cidr = var.exadata_infrastructure_admin_network_cidr
	cloud_control_plane_server1 = var.exadata_infrastructure_cloud_control_plane_server1
	cloud_control_plane_server2 = var.exadata_infrastructure_cloud_control_plane_server2
	compartment_id = var.compartment_id
	display_name = var.exadata_infrastructure_display_name
	dns_server = var.exadata_infrastructure_dns_server
	gateway = var.exadata_infrastructure_gateway
	infini_band_network_cidr = var.exadata_infrastructure_infini_band_network_cidr
	netmask = var.exadata_infrastructure_netmask
	ntp_server = var.exadata_infrastructure_ntp_server
	shape = var.exadata_infrastructure_shape
	time_zone = var.exadata_infrastructure_time_zone

	#Optional
	activation_file = var.exadata_infrastructure_activation_file
	compute_count = var.exadata_infrastructure_compute_count
	contacts {
		#Required
		email = var.exadata_infrastructure_contacts_email
		is_primary = var.exadata_infrastructure_contacts_is_primary
		name = var.exadata_infrastructure_contacts_name

		#Optional
		is_contact_mos_validated = var.exadata_infrastructure_contacts_is_contact_mos_validated
		phone_number = var.exadata_infrastructure_contacts_phone_number
	}
	corporate_proxy = var.exadata_infrastructure_corporate_proxy
	defined_tags = var.exadata_infrastructure_defined_tags
	freeform_tags = {"Department"= "Finance"}
	is_cps_offline_report_enabled = var.exadata_infrastructure_is_cps_offline_report_enabled
	is_multi_rack_deployment = var.exadata_infrastructure_is_multi_rack_deployment
	maintenance_window {

		#Optional
		custom_action_timeout_in_mins = var.exadata_infrastructure_maintenance_window_custom_action_timeout_in_mins
		days_of_week {
			#Required
			name = var.exadata_infrastructure_maintenance_window_days_of_week_name
		}
		hours_of_day = var.exadata_infrastructure_maintenance_window_hours_of_day
		is_custom_action_timeout_enabled = var.exadata_infrastructure_maintenance_window_is_custom_action_timeout_enabled
		is_monthly_patching_enabled = var.exadata_infrastructure_maintenance_window_is_monthly_patching_enabled
		lead_time_in_weeks = var.exadata_infrastructure_maintenance_window_lead_time_in_weeks
		months {
			#Required
			name = var.exadata_infrastructure_maintenance_window_months_name
		}
		patching_mode = var.exadata_infrastructure_maintenance_window_patching_mode
		preference = var.exadata_infrastructure_maintenance_window_preference
		skip_ru = var.exadata_infrastructure_maintenance_window_skip_ru
		weeks_of_month = var.exadata_infrastructure_maintenance_window_weeks_of_month
	}
	multi_rack_configuration_file = var.exadata_infrastructure_multi_rack_configuration_file
	network_bonding_mode_details {

		#Optional
		backup_network_bonding_mode = var.exadata_infrastructure_network_bonding_mode_details_backup_network_bonding_mode
		client_network_bonding_mode = var.exadata_infrastructure_network_bonding_mode_details_client_network_bonding_mode
		dr_network_bonding_mode = var.exadata_infrastructure_network_bonding_mode_details_dr_network_bonding_mode
	}
	storage_count = var.exadata_infrastructure_storage_count
}

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

Import

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

$ terraform import oci_database_exadata_infrastructure.test_exadata_infrastructure "id"