Skip to content

Commit b204650

Browse files
authored
Releasing version 7.21.0
Releasing version 7.21.0
2 parents 8b473e0 + 791e6cb commit b204650

File tree

618 files changed

+47124
-2008
lines changed

Some content is hidden

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

618 files changed

+47124
-2008
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 7.21.0 (October 1, 2025)
2+
3+
### Added
4+
- Support for Immutable Backup and Undelete DB | ADB-D and ADB on ExaC@C
5+
- Support for sigint context to go sdk for GoldenGate
6+
- support for distinct instance_shape_config in capacity reservations
7+
- Support for Generative AI - Private Endpoint support for DAC
8+
- Support for Vertical Stack Update for Guest OS and GI using generic scheduling mechanism or point operations
9+
- Support for ADB-S: ADB@GCP (Oasis) Google Key Management Support (GCP CMEK) R3
10+
- Support for Datastore Management for Standard Shapes
11+
- Support for Reselling NVAIE License from NVidia
12+
- Support for Long Running Functions With Guaranteed Response Delivery
13+
- Support for Resource Analytics service
14+
- Support for Multicloud service
15+
16+
### Bug Fix
17+
- for MongoDB API support | ADB-D & ADB-C@C
18+
- Issue updating management policies with type set to None.
19+
120
## 7.20.0 (September 23, 2025)
221

322
### Added

coverage/coverage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
var totalRgx = regexp.MustCompile(`total:\s+\(statements\)\s+([^"]*)%`)
1616

17-
const CodeCoverageThreshold = 54.6
17+
const CodeCoverageThreshold = 54.7
1818

1919
func TestCoverage(t *testing.T) {
2020
if os.Getenv("CHECK_COVERAGE") != "true" {

examples/compute/capacity_reservation/config.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ resource "oci_core_compute_capacity_reservation" "cr" {
66
instance_reservation_configs {
77
instance_shape = var.instance_shape
88
reserved_count = var.instance_count
9+
instance_shape_config {
10+
ocpus = "2"
11+
memory_in_gbs = "18"
12+
}
13+
}
14+
15+
instance_reservation_configs {
16+
instance_shape = var.instance_shape
17+
reserved_count = var.instance_count
18+
instance_shape_config {
19+
ocpus = "3"
20+
memory_in_gbs = "22"
21+
}
922
}
1023
}
1124

@@ -20,6 +33,10 @@ resource "oci_core_instance" "test_instance" {
2033
assign_public_ip = false
2134
subnet_id = oci_core_subnet.test_subnet.id
2235
}
36+
shape_config {
37+
ocpus = "2"
38+
memory_in_gbs = "18"
39+
}
2340
source_details {
2441
source_type = "image"
2542
source_id = var.instance_image_ocid[var.region]

examples/compute/capacity_reservation/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ variable "instance_image_ocid" {
5252
}
5353

5454
variable "instance_shape" {
55-
default = "VM.Standard2.1"
55+
default = "VM.Standard.E5.Flex"
5656
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
variable "subnet_ocid" {
4+
}
5+
6+
variable "image_ocid" {
7+
}
8+
9+
variable "config_file_profile" {
10+
}
11+
12+
# provider "oci" {
13+
# region = var.region
14+
# auth = "SecurityToken"
15+
# config_file_profile = var.config_file_profile
16+
# version = "7.18.0"
17+
# }
18+
19+
data "oci_identity_availability_domain" "ad" {
20+
compartment_id = var.tenancy_ocid
21+
ad_number = 1
22+
}
23+
24+
resource "oci_core_instance_configuration" "test_instance_configuration_with_aie" {
25+
compartment_id = var.compartment_ocid
26+
display_name = "TestInstanceConfiguration"
27+
28+
instance_details {
29+
instance_type = "compute"
30+
31+
launch_details {
32+
compartment_id = var.compartment_ocid
33+
shape = "BM.GPU.A10.4"
34+
is_ai_enterprise_enabled = true
35+
36+
source_details {
37+
source_type = "image"
38+
image_id = var.image_ocid
39+
}
40+
41+
instance_options {
42+
are_legacy_imds_endpoints_disabled = true
43+
}
44+
45+
create_vnic_details {
46+
subnet_id = var.subnet_ocid
47+
display_name = "Primaryvnic"
48+
}
49+
}
50+
}
51+
}
52+
53+
resource "oci_core_instance_pool" "test_instance_pool_with_aie" {
54+
compartment_id = var.compartment_ocid
55+
instance_configuration_id = oci_core_instance_configuration.test_instance_configuration_with_aie.id
56+
size = 1
57+
state = "RUNNING"
58+
display_name = "TestInstancePool"
59+
60+
placement_configurations {
61+
availability_domain = data.oci_identity_availability_domain.ad.name
62+
primary_subnet_id = var.subnet_ocid
63+
}
64+
}
65+
66+
resource "oci_core_instance" "test_instance_with_aie" {
67+
availability_domain = data.oci_identity_availability_domain.ad.name
68+
compartment_id = var.compartment_ocid
69+
display_name = "TestInstance"
70+
shape = "BM.GPU.A10.4"
71+
is_ai_enterprise_enabled = true
72+
73+
create_vnic_details {
74+
subnet_id = var.subnet_ocid
75+
display_name = "Primaryvnic"
76+
}
77+
78+
source_details {
79+
source_type = "image"
80+
source_id = var.image_ocid
81+
}
82+
83+
instance_options {
84+
are_legacy_imds_endpoints_disabled = true
85+
}
86+
87+
timeouts {
88+
create = "60m"
89+
}
90+
}
91+
92+
output "aie_instance_config_data" {
93+
value = oci_core_instance_configuration.test_instance_configuration_with_aie
94+
}
95+
96+
data "oci_core_instance_pool_instances" "aie_instance_pool_instance" {
97+
compartment_id = var.compartment_ocid
98+
instance_pool_id = oci_core_instance_pool.test_instance_pool_with_aie.id
99+
}
100+
101+
data "oci_core_instance" "aie_instance_pool_instance_data" {
102+
instance_id = data.oci_core_instance_pool_instances.aie_instance_pool_instance.instances[0].id
103+
}
104+
105+
data "oci_core_instances" "aie_instance_data" {
106+
compartment_id = var.compartment_ocid
107+
filter {
108+
name = "id"
109+
values = [oci_core_instance.test_instance_with_aie.id]
110+
}
111+
}
112+
113+
output "aie_instance_pool_instance_data" {
114+
value = data.oci_core_instance.aie_instance_pool_instance_data
115+
}
116+
117+
output "aie_instance_data" {
118+
value = data.oci_core_instances.aie_instance_data
119+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
resource "random_string" "autonomous_database_admin_password" {
5+
length = 16
6+
min_numeric = 1
7+
min_lower = 1
8+
min_upper = 1
9+
min_special = 1
10+
}
11+
12+
data "oci_database_autonomous_db_versions" "test_autonomous_db_versions" {
13+
#Required
14+
compartment_id = var.compartment_ocid
15+
16+
#Optional
17+
db_workload = var.autonomous_database_db_workload
18+
19+
filter {
20+
name = "version"
21+
values = ["19c"]
22+
}
23+
}
24+
25+
resource "oci_database_autonomous_database" "autonomous_database" {
26+
#Required
27+
admin_password = random_string.autonomous_database_admin_password.result
28+
compartment_id = var.compartment_ocid
29+
compute_count = "1"
30+
compute_model = "ECPU"
31+
data_storage_size_in_tbs = "1"
32+
db_name = "adbDatabaseName123"
33+
34+
#Optional
35+
db_version = data.oci_database_autonomous_db_versions.test_autonomous_db_versions.autonomous_db_versions[0].version
36+
db_workload = var.autonomous_database_db_workload
37+
display_name = "example_autonomous_database"
38+
freeform_tags = var.autonomous_database_freeform_tags
39+
is_auto_scaling_enabled = "true"
40+
is_auto_scaling_for_storage_enabled = "true"
41+
license_model = var.autonomous_database_license_model
42+
is_preview_version_with_service_terms_accepted = "false"
43+
whitelisted_ips = ["1.1.1.1/28"]
44+
character_set = "AL32UTF8"
45+
ncharacter_set = "AL16UTF16"
46+
}
47+
48+
resource "oci_database_autonomous_database" "test_autonomous_database" {
49+
admin_password = random_string.autonomous_database_admin_password.result
50+
compartment_id = var.compartment_ocid
51+
cpu_core_count = "1"
52+
data_storage_size_in_tbs = "1"
53+
db_name = "adbdb11f"
54+
db_version = "19c"
55+
db_workload = "AJD"
56+
license_model = "LICENSE_INCLUDED"
57+
is_free_tier = "false"
58+
autonomous_maintenance_schedule_type = var.autonomous_database_autonomous_maintenance_schedule_type
59+
}
60+
61+
62+
data "oci_database_autonomous_databases" "autonomous_databases" {
63+
#Required
64+
compartment_id = var.compartment_ocid
65+
66+
#Optional
67+
display_name = oci_database_autonomous_database.autonomous_database.display_name
68+
db_workload = var.autonomous_database_db_workload
69+
}
70+
71+
data "oci_database_autonomous_database_refreshable_clones" "autonomous_database_refreshable_clones" {
72+
#Required
73+
autonomous_database_id = oci_database_autonomous_database.autonomous_database.id
74+
}
75+
76+
output "autonomous_database_admin_password" {
77+
value = random_string.autonomous_database_admin_password.result
78+
}
79+
80+
81+
data "oci_database_autonomous_databases_clones" "test_autonomous_databases_clones" {
82+
#Required
83+
autonomous_database_id = oci_database_autonomous_database.test_autonomous_database.id
84+
compartment_id = var.compartment_ocid
85+
86+
#Optional
87+
clone_type = "REFRESHABLE_CLONE"
88+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
provider "oci" {
5+
tenancy_ocid = var.tenancy_ocid
6+
user_ocid = var.user_ocid
7+
fingerprint = var.fingerprint
8+
private_key_path = var.private_key_path
9+
region = var.region
10+
}
11+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 "tenancy_ocid" {
5+
}
6+
7+
variable "user_ocid" {
8+
}
9+
10+
variable "fingerprint" {
11+
}
12+
13+
variable "private_key_path" {
14+
}
15+
16+
variable "region" {
17+
}
18+
19+
variable "compartment_ocid" {
20+
}
21+
22+
variable "autonomous_database_freeform_tags" {
23+
default = {
24+
"Department" = "Finance"
25+
}
26+
}
27+
28+
variable "autonomous_database_license_model" {
29+
default = "LICENSE_INCLUDED"
30+
}
31+
32+
variable "autonomous_database_db_workload" {
33+
default = "OLTP"
34+
}
35+
36+
variable "autonomous_database_autonomous_maintenance_schedule_type" {
37+
default = "EARLY"
38+
}

examples/database/adb/encryption_key/autonomous_database_encryption_key.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,22 @@ resource "oci_database_autonomous_database" "test_autonomous_database" {
3939
encryption_key {
4040
autonomous_database_provider = "ORACLE_MANAGED"
4141
}
42+
43+
resource "oci_database_autonomous_database" "test_autonomous_database_gcp_kms" {
44+
admin_password = "BEstrO0ng_#11"
45+
compartment_id = var.compartment_ocid
46+
cpu_core_count = "1"
47+
data_storage_size_in_tbs = "1"
48+
db_name = "Xsk5djnfdl23423dss"
49+
db_version = "19c"
50+
db_workload = "AJD"
51+
license_model = "LICENSE_INCLUDED"
52+
encryption_key {
53+
autonomous_database_provider = "GCP"
54+
key_name = "key_name"
55+
key_ring = "key_ring"
56+
location = "location"
57+
project = "project"
58+
}
59+
}
4260
}

examples/database/atp-d/data_sources.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,4 @@ data "oci_database_cloud_autonomous_vm_cluster_resource_usage" "test_cloud_auton
6161

6262
data "oci_database_autonomous_database_software_image" "test_autonomous_database_software_image" {
6363
autonomous_database_software_image_id = oci_database_autonomous_database_software_image.autonomous_database_software_image.id
64-
}
65-
66-
data "oci_database_cloud_autonomous_vm_clusters" "test_cloud_autonomous_vm_clusters" {
67-
compartment_id = var.compartment_ocid
6864
}

0 commit comments

Comments
 (0)