diff --git a/examples/odb/autonomous_vm_cluster.tf b/examples/odb/autonomous_vm_cluster.tf deleted file mode 100644 index 870259c18ca6..000000000000 --- a/examples/odb/autonomous_vm_cluster.tf +++ /dev/null @@ -1,55 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. - -//Autonomous VM Cluster with default maintenance window and minimum parameters -resource "aws_odb_cloud_autonomous_vm_cluster" "avmc_with_minimum_parameters" { - cloud_exadata_infrastructure_id = "" //refer your exadata infra id - odb_network_id = "" //refer_your_odb_net_id - display_name = "Ofake-avmc-my_avmc" - autonomous_data_storage_size_in_tbs = 5 - memory_per_oracle_compute_unit_in_gbs = 2 - total_container_databases = 1 - cpu_core_count_per_node = 40 - license_model = "LICENSE_INCLUDED" - //ids of db server. refer your exa infra. This is a manadatory fileld. Refer your cloud exadata infrastructure for db server id - db_servers = [""] - scan_listener_port_tls = 8561 - scan_listener_port_non_tls = 1024 - maintenance_window = { - preference = "NO_PREFERENCE" - days_of_week = [] - hours_of_day = [] - months = [] - weeks_of_month = [] - lead_time_in_weeks = 0 - } - -} - -//Autonomous VM Cluster with all parameters -resource "aws_odb_cloud_autonomous_vm_cluster" "test" { - description = "my first avmc" - time_zone = "UTC" - cloud_exadata_infrastructure_id = "" - odb_network_id = "" - display_name = "Ofake_my avmc" - autonomous_data_storage_size_in_tbs = 5 - memory_per_oracle_compute_unit_in_gbs = 2 - total_container_databases = 1 - cpu_core_count_per_node = 40 - license_model = "LICENSE_INCLUDED" - db_servers = ["", ""] - scan_listener_port_tls = 8561 - scan_listener_port_non_tls = 1024 - maintenance_window = { - preference = "CUSTOM_PREFERENCE" - days_of_week = ["MONDAY", "TUESDAY"] - hours_of_day = [4, 16] - months = ["FEBRUARY", "MAY", "AUGUST", "NOVEMBER"] - weeks_of_month = [2, 4] - lead_time_in_weeks = 3 - } - tags = { - "env" = "dev" - } - -} diff --git a/examples/odb/exadata_infra.tf b/examples/odb/exadata_infra.tf deleted file mode 100644 index 68fe806f0ffe..000000000000 --- a/examples/odb/exadata_infra.tf +++ /dev/null @@ -1,48 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. - -//Exadata Infrastructure with customer managed maintenance window -resource "aws_odb_cloud_exadata_infrastructure" "exa_infra_X11M_all_param" { - display_name = "Ofake_my_odb_exadata_infra" //Required Field - shape = "Exadata.X11M" //Required Field - storage_count = 3 - compute_count = 2 - availability_zone_id = "use1-az6" //Required Field - customer_contacts_to_send_to_oci = ["abc@example.com"] - database_server_type = "X11M" - storage_server_type = "X11M-HC" - maintenance_window = { //Required - custom_action_timeout_in_mins = 16 - days_of_week = ["MONDAY", "TUESDAY"] - hours_of_day = [11, 16] - is_custom_action_timeout_enabled = true - lead_time_in_weeks = 3 - months = ["FEBRUARY", "MAY", "AUGUST", "NOVEMBER"] - patching_mode = "ROLLING" - preference = "CUSTOM_PREFERENCE" - weeks_of_month = [2, 4] - } - tags = { - "env" = "dev" - } - -} - -//Exadata Infrastructure with default maintenance window with X9M system shape. with minimum parameters -resource "aws_odb_cloud_exadata_infrastructure" "test_X9M" { - display_name = "Ofake_my_exa_X9M" - shape = "Exadata.X9M" - storage_count = 3 - compute_count = 2 - availability_zone_id = "use1-az6" - maintenance_window = { - custom_action_timeout_in_mins = 16 - days_of_week = [] - hours_of_day = [] - is_custom_action_timeout_enabled = true - lead_time_in_weeks = 0 - months = [] - patching_mode = "ROLLING" - preference = "NO_PREFERENCE" - weeks_of_month = [] - } -} \ No newline at end of file diff --git a/examples/odb/main.tf b/examples/odb/main.tf deleted file mode 100644 index 58cccaccb19c..000000000000 --- a/examples/odb/main.tf +++ /dev/null @@ -1,10 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. -terraform { - required_version = ">= 0.15.3" - required_providers { - aws = { - source = "hashicorp/aws" - version = "3.50.0" - } - } -} \ No newline at end of file diff --git a/examples/odb/odb_network.tf b/examples/odb/odb_network.tf deleted file mode 100644 index 495db44c3eb7..000000000000 --- a/examples/odb/odb_network.tf +++ /dev/null @@ -1,27 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. - -//odb network without managed service -resource "aws_odb_network" "test" { - display_name = "odb-my-net" - availability_zone_id = "use1-az6" - client_subnet_cidr = "10.2.0.0/24" - backup_subnet_cidr = "10.2.1.0/24" - s3_access = "DISABLED" - zero_etl_access = "DISABLED" - tags = { - "env" = "dev" - } -} - -//odb network with managed service -resource "aws_odb_network" "test" { - display_name = "odb-my-net" - availability_zone_id = "use1-az6" - client_subnet_cidr = "10.2.0.0/24" - backup_subnet_cidr = "10.2.1.0/24" - s3_access = "ENABLED" - zero_etl_access = "ENABLED" - tags = { - "env" = "dev" - } -} \ No newline at end of file diff --git a/examples/odb/odb_network_peering.tf b/examples/odb/odb_network_peering.tf deleted file mode 100644 index edd7fed47c12..000000000000 --- a/examples/odb/odb_network_peering.tf +++ /dev/null @@ -1,7 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. - -resource "aws_odb_network_peering_connection" "test" { - display_name = "my_odb_net_peering" - odb_network_id = " - peer_network_id = "" -} \ No newline at end of file diff --git a/examples/odb/vm_cluster.tf b/examples/odb/vm_cluster.tf deleted file mode 100644 index a4e0767b5b1e..000000000000 --- a/examples/odb/vm_cluster.tf +++ /dev/null @@ -1,51 +0,0 @@ -//Copyright © 2025, Oracle and/or its affiliates. All rights reserved. - -resource "aws_odb_cloud_vm_cluster" "my_vmcluster_with_minimum_parameters" { - display_name = "Ofake_my_vmc" - cloud_exadata_infrastructure_id = "" - cpu_core_count = 6 - gi_version = "23.0.0.0" - hostname_prefix = "apollo12" - ssh_public_keys = [""] //public ssh keys - odb_network_id = "" - is_local_backup_enabled = true - is_sparse_diskgroup_enabled = true - license_model = "LICENSE_INCLUDED" - data_storage_size_in_tbs = 20.0 - db_servers = [""] //db-servers - db_node_storage_size_in_gbs = 120.0 - memory_size_in_gbs = 60 - tags = { - "env" = "dev" - } -} - - -resource "aws_odb_cloud_vm_cluster" "my_vmc_with_all_parameters" { - display_name = "Ofake_my_vmc" - cloud_exadata_infrastructure_id = "" - cpu_core_count = 6 - gi_version = "23.0.0.0" - hostname_prefix = "apollo12" - ssh_public_keys = [""] - odb_network_id = "" - is_local_backup_enabled = true - is_sparse_diskgroup_enabled = true - license_model = "LICENSE_INCLUDED" - data_storage_size_in_tbs = 20.0 - db_servers = [""] - db_node_storage_size_in_gbs = 120.0 - memory_size_in_gbs = 60 - cluster_name = "julia-13" - timezone = "UTC" - scan_listener_port_tcp = 1521 - system_version = "23.1.26.0.0.250516" - tags = { - "env" = "dev" - } - data_collection_options = { - is_diagnostics_events_enabled = true - is_health_monitoring_enabled = true - is_incident_logs_enabled = true - } -} \ No newline at end of file