Skip to content

Commit b105a87

Browse files
committed
example of AVMC
1 parent 2b26068 commit b105a87

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright © 2025, Oracle and/or its affiliates. All rights reserved.
2+
3+
# Autonomous VM Cluster with default maintenance window and minimum parameters
4+
resource "aws_odb_cloud_autonomous_vm_cluster" "avmc_with_minimum_parameters" {
5+
cloud_exadata_infrastructure_id = "<exadata_infra_id>" # refer your exadata infra id
6+
odb_network_id = "<odb_net_id>" # refer_your_odb_net_id
7+
display_name = "Ofake-avmc-my_avmc"
8+
autonomous_data_storage_size_in_tbs = 5
9+
memory_per_oracle_compute_unit_in_gbs = 2
10+
total_container_databases = 1
11+
cpu_core_count_per_node = 40
12+
license_model = "LICENSE_INCLUDED"
13+
# ids of db server. refer your exa infra. This is a manadatory fileld. Refer your cloud exadata infrastructure for db server id
14+
db_servers = ["<my_db_server_id>"]
15+
scan_listener_port_tls = 8561
16+
scan_listener_port_non_tls = 1024
17+
maintenance_window = {
18+
preference = "NO_PREFERENCE"
19+
days_of_week = []
20+
hours_of_day = []
21+
months = []
22+
weeks_of_month = []
23+
lead_time_in_weeks = 0
24+
}
25+
26+
}
27+
28+
# Autonomous VM Cluster with all parameters
29+
resource "aws_odb_cloud_autonomous_vm_cluster" "test" {
30+
description = "my first avmc"
31+
time_zone = "UTC"
32+
cloud_exadata_infrastructure_id = "<aws_odb_cloud_exadata_infrastructure.test.id>"
33+
odb_network_id = "<aws_odb_network.test.id>"
34+
display_name = "Ofake_my avmc"
35+
autonomous_data_storage_size_in_tbs = 5
36+
memory_per_oracle_compute_unit_in_gbs = 2
37+
total_container_databases = 1
38+
cpu_core_count_per_node = 40
39+
license_model = "LICENSE_INCLUDED"
40+
db_servers = ["<my_db_server_1>", "<my_db_server_2>"]
41+
scan_listener_port_tls = 8561
42+
scan_listener_port_non_tls = 1024
43+
maintenance_window = {
44+
preference = "CUSTOM_PREFERENCE"
45+
days_of_week = ["MONDAY", "TUESDAY"]
46+
hours_of_day = [4, 16]
47+
months = ["FEBRUARY", "MAY", "AUGUST", "NOVEMBER"]
48+
weeks_of_month = [2, 4]
49+
lead_time_in_weeks = 3
50+
}
51+
tags = {
52+
"env" = "dev"
53+
}
54+
55+
}

0 commit comments

Comments
 (0)