Skip to content

Commit 863ca6e

Browse files
committed
exadata infra res and ds with test
1 parent bfdc400 commit 863ca6e

11 files changed

+2792
-0
lines changed

examples/odb/exadata_infra.tf

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
//Copyright © 2025, Oracle and/or its affiliates. All rights reserved.
2+
3+
//Exadata Infrastructure with customer managed maintenance window
4+
resource "aws_odb_cloud_exadata_infrastructure" "exa_infra_X11M_all_param" {
5+
display_name = "Ofake_my_odb_exadata_infra" //Required Field
6+
shape = "Exadata.X11M" //Required Field
7+
storage_count = 3
8+
compute_count = 2
9+
availability_zone_id = "use1-az6" //Required Field
10+
customer_contacts_to_send_to_oci = ["[email protected]"]
11+
database_server_type = "X11M"
12+
storage_server_type = "X11M-HC"
13+
maintenance_window = { //Required
14+
custom_action_timeout_in_mins = 16
15+
days_of_week = ["MONDAY", "TUESDAY"]
16+
hours_of_day = [11, 16]
17+
is_custom_action_timeout_enabled = true
18+
lead_time_in_weeks = 3
19+
months = ["FEBRUARY", "MAY", "AUGUST", "NOVEMBER"]
20+
patching_mode = "ROLLING"
21+
preference = "CUSTOM_PREFERENCE"
22+
weeks_of_month = [2, 4]
23+
}
24+
tags = {
25+
"env" = "dev"
26+
}
27+
28+
}
29+
30+
//Exadata Infrastructure with default maintenance window with X9M system shape. with minimum parameters
31+
resource "aws_odb_cloud_exadata_infrastructure" "test_X9M" {
32+
display_name = "Ofake_my_exa_X9M"
33+
shape = "Exadata.X9M"
34+
storage_count = 3
35+
compute_count = 2
36+
availability_zone_id = "use1-az6"
37+
maintenance_window = {
38+
custom_action_timeout_in_mins = 16
39+
days_of_week = []
40+
hours_of_day = []
41+
is_custom_action_timeout_enabled = true
42+
lead_time_in_weeks = 0
43+
months = []
44+
patching_mode = "ROLLING"
45+
preference = "NO_PREFERENCE"
46+
weeks_of_month = []
47+
}
48+
}

0 commit comments

Comments
 (0)