Skip to content

Commit a0970cb

Browse files
authored
Merge pull request #2269 from oracle/release_gh
Releasing version 6.22.0
2 parents fb38e37 + 88aa3e3 commit a0970cb

File tree

19,668 files changed

+24787
-22660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

19,668 files changed

+24787
-22660
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 6.22.0 (January 16, 2025)
2+
3+
### Added
4+
- Source based routing support
5+
- Support for Windows BYOL for VMs
6+
- Support for ADB-S: Allow Changing Patch Level Provisioning
7+
- Support for OpenSearch Cross Cluster Search V2
8+
- Support for ADB-S: Backup Retention Lock
9+
- Support for StackMonitoring: Metric Extensions : Advanced Support and Integration
10+
- Support for Extend OBP cloud service to include new SKUs for Digital Assets editions
11+
- Support for Data Science: Support Private Endpoint Access for Model Deployment
12+
- Support for Add ZeroETL as a resource in GoldenGate Cloud Service
13+
- Support Llama 3.2 unit shape in Generative AI service
14+
- Support for BDS 3.0.29 Release - Feature Enhancements
15+
### Bug Fix
16+
- BaseDB CP - Fixing Integration Tests: Database Upgrade & Database Upgrade from Database Software Image
17+
- ExaDB-XS VM Cluster Getting Replaced due to HostName Case Mismatch
18+
19+
120
## 6.21.0 (December 19, 2024)
221

322
### Added
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "windows_instance_shape" {
5+
default = "VM.Standard2.1"
6+
}
7+
8+
resource "oci_core_vcn" "test_vcn" {
9+
cidr_block = "10.1.0.0/16"
10+
compartment_id = var.compartment_ocid
11+
display_name = "TestVcn"
12+
dns_label = "testvcn"
13+
}
14+
15+
resource "oci_core_internet_gateway" "test_internet_gateway" {
16+
compartment_id = var.compartment_ocid
17+
display_name = "TestInternetGateway"
18+
vcn_id = oci_core_vcn.test_vcn.id
19+
}
20+
21+
resource "oci_core_default_route_table" "default_route_table" {
22+
manage_default_resource_id = oci_core_vcn.test_vcn.default_route_table_id
23+
display_name = "DefaultRouteTable"
24+
25+
route_rules {
26+
destination = "0.0.0.0/0"
27+
destination_type = "CIDR_BLOCK"
28+
network_entity_id = oci_core_internet_gateway.test_internet_gateway.id
29+
}
30+
}
31+
32+
resource "oci_core_subnet" "test_subnet" {
33+
availability_domain = data.oci_identity_availability_domain.ad.name
34+
cidr_block = "10.1.20.0/24"
35+
display_name = "TestSubnet"
36+
dns_label = "testsubnet"
37+
security_list_ids = [oci_core_vcn.test_vcn.default_security_list_id]
38+
compartment_id = var.compartment_ocid
39+
vcn_id = oci_core_vcn.test_vcn.id
40+
route_table_id = oci_core_vcn.test_vcn.default_route_table_id
41+
dhcp_options_id = oci_core_vcn.test_vcn.default_dhcp_options_id
42+
}
43+
44+
data "oci_identity_availability_domain" "ad" {
45+
compartment_id = var.tenancy_ocid
46+
ad_number = 1
47+
}
48+
49+
resource "oci_core_instance" "test_instance_with_license_config" {
50+
count = 1
51+
availability_domain = data.oci_identity_availability_domain.ad.name
52+
compartment_id = var.compartment_ocid
53+
display_name = "TestInstance${count.index}"
54+
shape = var.windows_instance_shape
55+
56+
create_vnic_details {
57+
subnet_id = oci_core_subnet.test_subnet.id
58+
display_name = "Primaryvnic"
59+
}
60+
61+
licensing_configs {
62+
type = "WINDOWS"
63+
license_type = "OCI_PROVIDED"
64+
}
65+
66+
source_details {
67+
source_type = "image"
68+
source_id = data.oci_core_images.supported_windows_shape_images.images[0]["id"]
69+
}
70+
71+
timeouts {
72+
create = "60m"
73+
}
74+
}
75+
76+
output "supported_windows_shape_images" {
77+
value = data.oci_core_images.supported_windows_shape_images.images[0]["id"]
78+
}
79+
80+
# Gets a list of all images that support a given Instance shape
81+
data "oci_core_images" "supported_windows_shape_images" {
82+
compartment_id = var.tenancy_ocid
83+
shape = var.windows_instance_shape
84+
operating_system = "Windows"
85+
}
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
variable "windows_instance_shape" {
2+
default = "VM.Standard2.1"
3+
}
4+
5+
resource "oci_core_instance_configuration" "test_instance_configuration" {
6+
compartment_id = var.compartment_ocid
7+
display_name = "TestInstanceConfiguration"
8+
9+
instance_details {
10+
instance_type = "compute"
11+
12+
/*
13+
Attach multiple block volumes
14+
*/
15+
block_volumes {
16+
create_details {
17+
compartment_id = var.compartment_ocid
18+
display_name = "TestCreateVolumeDetails-1"
19+
availability_domain = data.oci_identity_availability_domain.ad.name
20+
size_in_gbs = 50
21+
vpus_per_gb = 20 // min vpus
22+
is_auto_tune_enabled = false
23+
block_volume_replicas {
24+
display_name = "TestCreateVolumeDetails-1"
25+
availability_domain = data.oci_identity_availability_domain.ad.name
26+
}
27+
}
28+
29+
attach_details {
30+
type = "paravirtualized"
31+
display_name = "TestAttachVolumeDetails-1"
32+
is_read_only = true
33+
is_shareable = true
34+
}
35+
}
36+
37+
block_volumes {
38+
create_details {
39+
compartment_id = var.compartment_ocid
40+
display_name = "TestCreateVolumeDetails-2"
41+
availability_domain = data.oci_identity_availability_domain.ad.name
42+
size_in_gbs = 50
43+
vpus_per_gb = 20 // min vpus
44+
}
45+
46+
attach_details {
47+
type = "paravirtualized"
48+
display_name = "TestAttachVolumeDetails-2"
49+
is_read_only = true
50+
is_shareable = true
51+
}
52+
}
53+
54+
launch_details {
55+
compartment_id = var.compartment_ocid
56+
ipxe_script = "ipxeScript"
57+
shape = var.windows_instance_shape
58+
display_name = "TestInstanceConfigurationLaunchDetails"
59+
is_pv_encryption_in_transit_enabled = false
60+
preferred_maintenance_action = "LIVE_MIGRATE"
61+
launch_mode = "NATIVE"
62+
63+
agent_config {
64+
is_management_disabled = false
65+
is_monitoring_disabled = false
66+
}
67+
68+
availability_config {
69+
recovery_action = "RESTORE_INSTANCE"
70+
is_live_migration_preferred = false
71+
}
72+
73+
launch_options {
74+
network_type = "PARAVIRTUALIZED"
75+
}
76+
77+
instance_options {
78+
are_legacy_imds_endpoints_disabled = false
79+
}
80+
81+
create_vnic_details {
82+
assign_private_dns_record = true
83+
assign_public_ip = true
84+
display_name = "TestInstanceConfigurationVNIC"
85+
skip_source_dest_check = false
86+
}
87+
88+
licensing_configs {
89+
type = "WINDOWS"
90+
license_type = "OCI_PROVIDED"
91+
}
92+
93+
extended_metadata = {
94+
some_string = "stringA"
95+
nested_object = "{\"some_string\": \"stringB\", \"object\": {\"some_string\": \"stringC\"}}"
96+
}
97+
98+
source_details {
99+
source_type = "image"
100+
image_id = data.oci_core_images.supported_windows_shape_images.images[0]["id"]
101+
}
102+
}
103+
}
104+
}
105+
106+
output "supported_windows_shape_images" {
107+
value = data.oci_core_images.supported_windows_shape_images.images[0]["id"]
108+
}
109+
110+
# Gets a list of all images that support a given Instance shape
111+
data "oci_core_images" "supported_windows_shape_images" {
112+
compartment_id = var.tenancy_ocid
113+
shape = var.windows_instance_shape
114+
operating_system = "Windows"
115+
}

examples/database/adb/autonomous_database.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ resource "oci_database_autonomous_database" "autonomous_database_oneway_tls_conn
257257
db_name = "adbOneWay"
258258

259259
whitelisted_ips = ["1.1.1.1"]
260-
is_mtls_connection_required = "true"
260+
is_mtls_connection_required = "true"
261261
}
262262

263263
resource "oci_database_autonomous_database" "autonomous_database_dbms_status" {
@@ -389,7 +389,6 @@ output "autonomous_databases" {
389389
value = data.oci_database_autonomous_databases.autonomous_databases.autonomous_databases
390390
}
391391

392-
393392
resource "oci_database_autonomous_database" "test_autonomous_database_shrink" {
394393
admin_password = random_string.autonomous_database_admin_password.result
395394
compartment_id = var.compartment_ocid

examples/database/db_systems/db_exadbxs/exadb_vm_cluster_database.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
resource "oci_database_db_home" "test_db_home" {
55
display_name = "ExampleExaDbVmDbHome"
66
db_system_id = oci_database_exadb_vm_cluster.test_exadb_vm_cluster.id
7-
db_version = "23.4.0.24.05"
7+
db_version = data.oci_database_gi_version_minor_versions.test_gi_minor_versions.gi_minor_versions[0].version
88
}
99

1010
resource "oci_database_database" "test_db1" {
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# $Header$
2+
#
3+
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
4+
#
5+
# NAME
6+
# data.tf
7+
#
8+
# USAGE
9+
# Use the following path for the Example & Backward Compatibility tests: database/db_systems/db_vm/db_upgrade
10+
# NOTES
11+
# Terraform Integration Test: TestDatabaseDatabaseUpgradeResource_basic
12+
#
13+
# FILE(S)
14+
# database_database_upgrade_test.go
15+
#
16+
# MODIFIED MM/DD/YY
17+
# escabrer 12/13/2024 - Created
18+
19+
20+
data "oci_identity_availability_domains" "test_availability_domains" {
21+
compartment_id = var.tenancy_ocid
22+
}
23+
24+
data "oci_database_db_systems" "test_db_system_for_upgrade" {
25+
compartment_id = var.compartment_id
26+
filter {
27+
name = "id"
28+
values = [oci_database_db_system.test_db_system_for_upgrade.id]
29+
}
30+
}
31+
32+
data "oci_database_db_homes" "test_db_system_for_upgrade" {
33+
compartment_id = var.compartment_id
34+
db_system_id = oci_database_db_system.test_db_system_for_upgrade.id
35+
}
36+
37+
data "oci_database_db_home" "test_db_system_for_upgrade" {
38+
db_home_id = data.oci_database_db_homes.test_db_system_for_upgrade.db_homes.0.db_home_id
39+
}
40+
41+
data "oci_database_databases" "test_db_system_for_upgrade" {
42+
compartment_id = var.compartment_id
43+
db_home_id = data.oci_database_db_homes.test_db_system_for_upgrade.db_homes.0.db_home_id
44+
}
45+
46+
data "oci_database_database" "test_db_system_for_upgrade" {
47+
database_id = data.oci_database_databases.test_db_system_for_upgrade.databases.0.id
48+
}
49+
50+
51+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# $Header$
2+
#
3+
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
4+
#
5+
# NAME
6+
# main.tf
7+
#
8+
# USAGE
9+
# Use the following path for the Example & Backward Compatibility tests: database/db_systems/db_vm/db_upgrade
10+
# NOTES
11+
# Terraform Integration Test: TestDatabaseDatabaseUpgradeResource_basic
12+
#
13+
# FILE(S)
14+
# database_database_upgrade_test.go
15+
#
16+
# MODIFIED MM/DD/YY
17+
# escabrer 12/13/2024 - Created
18+
19+
20+
21+
resource "oci_database_db_system" "test_db_system_for_upgrade" {
22+
availability_domain = data.oci_identity_availability_domains.test_availability_domains.availability_domains.0.name
23+
compartment_id = var.compartment_id
24+
data_storage_size_in_gb = "256"
25+
database_edition = "ENTERPRISE_EDITION"
26+
db_home {
27+
database {
28+
admin_password = var.admin_password
29+
character_set = "AL32UTF8"
30+
db_name = "tfDb"
31+
db_workload = "OLTP"
32+
ncharacter_set = "AL16UTF16"
33+
pdb_name = "tfPdb"
34+
}
35+
db_version = "12.2.0.1"
36+
display_name = "tfDbHome"
37+
}
38+
db_system_options {
39+
storage_management = "LVM"
40+
}
41+
disk_redundancy = "NORMAL"
42+
display_name = "tfDbSystemForUpgradeExample"
43+
domain = oci_core_subnet.test_subnet.subnet_domain_name
44+
fault_domains = ["FAULT-DOMAIN-1"]
45+
hostname = "tf-db-host"
46+
license_model = "LICENSE_INCLUDED"
47+
lifecycle {
48+
ignore_changes = [db_home[0].db_version, defined_tags]
49+
}
50+
node_count = "1"
51+
nsg_ids = [oci_core_network_security_group.test_nsg.id]
52+
shape = "VM.Standard2.2"
53+
ssh_public_keys = [var.ssh_public_key]
54+
subnet_id = oci_core_subnet.test_subnet.id
55+
}
56+
57+
resource "oci_database_database_upgrade" "test_database_precheck" {
58+
action = "PRECHECK"
59+
database_id = data.oci_database_databases.test_db_system_for_upgrade.databases.0.id
60+
database_upgrade_source_details {
61+
db_version = "19.24.0.0"
62+
source = "DB_VERSION"
63+
}
64+
}
65+
66+
resource "oci_database_database_upgrade" "test_database_upgrade" {
67+
action = "UPGRADE"
68+
database_id = data.oci_database_databases.test_db_system_for_upgrade.databases.0.id
69+
database_upgrade_source_details {
70+
db_version = "19.24.0.0"
71+
options = "-upgradeTimezone false -keepEvents"
72+
source = "DB_VERSION"
73+
}
74+
depends_on = [oci_database_database_upgrade.test_database_precheck]
75+
}

0 commit comments

Comments
 (0)