Skip to content

Commit ea58b00

Browse files
committed
terraform example formatted.
1 parent 38d41e3 commit ea58b00

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

examples/odb/exadata_infra.tf

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22

33
# Exadata Infrastructure with customer managed maintenance window
44
resource "aws_odb_cloud_exadata_infrastructure" "exa_infra_all_params" {
5-
display_name = "Ofake-my-exa-infra"
6-
shape = "Exadata.X11M"
7-
storage_count = 3
8-
compute_count = 2
9-
availability_zone_id = "use1-az6"
10-
customer_contacts_to_send_to_oci = [{email="[email protected]"},{email="[email protected]"}]
11-
database_server_type = "X11M"
12-
storage_server_type = "X11M-HC"
13-
maintenance_window {
14-
custom_action_timeout_in_mins = 16
15-
days_of_week = [{ name ="MONDAY"}, {name="TUESDAY"}]
16-
hours_of_day = [11,16]
5+
display_name = "Ofake-my-exa-infra"
6+
shape = "Exadata.X11M"
7+
storage_count = 3
8+
compute_count = 2
9+
availability_zone_id = "use1-az6"
10+
customer_contacts_to_send_to_oci = [{ email = "[email protected]" }, { email = "[email protected]" }]
11+
database_server_type = "X11M"
12+
storage_server_type = "X11M-HC"
13+
maintenance_window {
14+
custom_action_timeout_in_mins = 16
15+
days_of_week = [{ name = "MONDAY" }, { name = "TUESDAY" }]
16+
hours_of_day = [11, 16]
1717
is_custom_action_timeout_enabled = true
18-
lead_time_in_weeks = 3
19-
months = [{name="FEBRUARY"},{name="MAY"},{name="AUGUST"},{name="NOVEMBER"}]
20-
patching_mode = "ROLLING"
21-
preference = "CUSTOM_PREFERENCE"
22-
weeks_of_month =[2,4]
18+
lead_time_in_weeks = 3
19+
months = [{ name = "FEBRUARY" }, { name = "MAY" }, { name = "AUGUST" }, { name = "NOVEMBER" }]
20+
patching_mode = "ROLLING"
21+
preference = "CUSTOM_PREFERENCE"
22+
weeks_of_month = [2, 4]
2323
}
2424
tags = {
25-
"env"= "dev"
25+
"env" = "dev"
2626
}
2727

2828
}
2929

3030
# Exadata Infrastructure with default maintenance window with X9M system shape. with minimum parameters
3131
resource "aws_odb_cloud_exadata_infrastructure" "exa_infra_basic" {
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
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
3939
is_custom_action_timeout_enabled = true
40-
patching_mode = "ROLLING"
41-
preference = "NO_PREFERENCE"
40+
patching_mode = "ROLLING"
41+
preference = "NO_PREFERENCE"
4242
}
4343
}

0 commit comments

Comments
 (0)