Skip to content

Commit 97b6ff8

Browse files
authored
Merge pull request #2306 from oracle/release_gh
Releasing v6.28.0
2 parents 140712a + 30f9077 commit 97b6ff8

File tree

14,671 files changed

+60198
-37834
lines changed

Some content is hidden

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

14,671 files changed

+60198
-37834
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 6.28.0 (February 28, 2025)
2+
3+
### Added
4+
- Support for OIDC multi issuer support
5+
- Support for OCI Cache - Valkey Support and valkey migration
6+
- Support for HeatWave MySQL Service: Extra Configuration Parameters, System Tags
7+
- Support for BYODKIM
8+
- Support for X11 M | Exadata Infrastructure Support on ExaDB-C@C
9+
- Support for EXADB-D- X11M
10+
- Support for Dataflow Integration and Storage Mounts with Pipelines
11+
- Support for DBLM: Database Life Cycle Management (Externally Registered Database Vulnerability and Patching)
12+
13+
### Bug Fix
14+
- Make secret version optional and computed for cross connects
15+
116
## 6.27.0 (February 19, 2025)
217

318
### Added

GNUmakefile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,4 @@ check-untagged-tests:
161161
@sh -c "'$(CURDIR)/scripts/check-untagged-tests.sh' -s ''$(SERVICE)"
162162

163163
check-module-name:
164-
@sh -c "'$(CURDIR)/scripts/gomodnamecheck.sh'"
165-
166-
buildpyEnv:
167-
cd ./terraform-test-resources/dev_tools/teamcity_scripts/python_script; @echo $(SCRIPT_ARG) ; sh run_python_script.sh
168-
169-
buildpyEnv:
170-
@if [ -d "./terraform-test-resources" ]; then \
171-
cd ./terraform-test-resources/dev_tools/teamcity_scripts/python_script; \
172-
echo $(SCRIPT_ARG); \
173-
sh run_python_script.sh; \
174-
else \
175-
echo "Skipping script execution: terraform-test-resources submodule not found."; \
176-
fi
164+
@sh -c "'$(CURDIR)/scripts/gomodnamecheck.sh'"

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ This directory contains Terraform configuration files showing how to create spec
8181
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/datasafe.zip)
8282
- datascience
8383
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/datascience.zip)
84+
- dblm
85+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/dblm.zip)
8486
- delegation_management
8587
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/delegation_management.zip)
8688
- demand_signal

examples/container_engine/oidc_authn_token_config/main.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ variable "cluster_options_open_id_connect_token_authentication_config_groups_cla
8787
default = "groupsClaim"
8888
}
8989

90+
variable "cluster_options_open_id_connect_token_authentication_config_configuration_file" {
91+
default = ""
92+
}
93+
9094
variable "cluster_options_open_id_connect_token_authentication_config_groups_prefix" {
9195
default = "groupsPrefix"
9296
}
@@ -256,6 +260,8 @@ resource "oci_containerengine_cluster" "test_cluster" {
256260
ca_certificate = var.cluster_options_open_id_connect_token_authentication_config_ca_certificate
257261
groups_claim = var.cluster_options_open_id_connect_token_authentication_config_groups_claim
258262
groups_prefix = var.cluster_options_open_id_connect_token_authentication_config_groups_prefix
263+
#Optional
264+
configuration_file = var.cluster_options_open_id_connect_token_authentication_config_configuration_file
259265
required_claims {
260266

261267
#Optional
@@ -272,7 +278,7 @@ resource "oci_containerengine_cluster" "test_cluster" {
272278

273279
data "oci_containerengine_clusters" "test_clusters" {
274280
#Required
275-
compartment_id = var.compartment_id
281+
compartment_id = var.compartment_ocid
276282

277283
#Optional
278284
name = var.cluster_name
Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
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 "compartment_ocid" {
11+
}
12+
13+
variable "region" {
14+
default = "us-ashburn-1"
15+
}
16+
17+
variable "kms_vault_id" {
18+
}
19+
20+
variable "compartment_id" {
21+
}
22+
23+
variable "cluster_cluster_pod_network_options_cni_type" {
24+
default = "OCI_VCN_IP_NATIVE"
25+
}
26+
27+
variable "cluster_defined_tags_value" {
28+
default = "value"
29+
}
30+
31+
variable "cluster_endpoint_config_is_public_ip_enabled" {
32+
default = false
33+
}
34+
35+
variable "cluster_endpoint_config_nsg_ids" {
36+
default = []
37+
}
38+
39+
variable "cluster_freeform_tags" {
40+
default = { "Department" = "Finance" }
41+
}
42+
43+
variable "cluster_image_policy_config_is_policy_enabled" {
44+
default = false
45+
}
46+
47+
variable "cluster_kubernetes_version" {
48+
default = "kubernetesVersion"
49+
}
50+
51+
variable "cluster_name" {
52+
default = "name"
53+
}
54+
55+
variable "cluster_options_add_ons_is_kubernetes_dashboard_enabled" {
56+
default = true
57+
}
58+
59+
variable "cluster_options_add_ons_is_tiller_enabled" {
60+
default = true
61+
}
62+
63+
variable "cluster_options_admission_controller_options_is_pod_security_policy_enabled" {
64+
default = false
65+
}
66+
67+
variable "cluster_options_kubernetes_network_config_pods_cidr" {
68+
default = "10.1.0.0/16"
69+
}
70+
71+
variable "cluster_options_kubernetes_network_config_services_cidr" {
72+
default = "10.2.0.0/16"
73+
}
74+
75+
variable "cluster_options_open_id_connect_token_authentication_config_is_open_id_connect_auth_enabled" {
76+
default = true
77+
}
78+
79+
variable "cluster_options_open_id_connect_token_authentication_config_configuration_file" {
80+
default = "YXBpVmVyc2lvbjogYXBpc2VydmVyLmNvbmZpZy5rOHMuaW8vdjFiZXRhMQpraW5kOiBBdXRoZW50aWNhdGlvbkNvbmZpZ3VyYXRpb24Kand0OgogIC0gaXNzdWVyOgogICAgICB1cmw6IGh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbQogICAgICBhdWRpZW5jZXM6CiAgICAgICAgLSA3OTc3NjQ0NDY1NjctMjZycTVrdDMzMTYyMWozdXJzdGQwZDVyODFkNnJkZDAuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20KICAgICAgYXVkaWVuY2VNYXRjaFBvbGljeTogTWF0Y2hBbnkKICAgIGNsYWltTWFwcGluZ3M6CiAgICAgIHVzZXJuYW1lOgogICAgICAgIGNsYWltOiAic3ViIgogICAgICAgIHByZWZpeDogIiIKICAgICAgZ3JvdXBzOgogICAgICAgIGNsYWltOiAiZ3JvdXBzIgogICAgICAgIHByZWZpeDogIiIKICAgICAgdWlkOgogICAgICAgIGNsYWltOiAic3ViIgogIC0gaXNzdWVyOgogICAgICB1cmw6IGh0dHBzOi8vZGV2LWQ4Y21qeXcydm1rMm1qY24udXMuYXV0aDAuY29tLwogICAgICBhdWRpZW5jZXM6CiAgICAgICAgLSBWM2YxeTJ4WVFvTFdXYmhUcXY4SGE3azltQ1FwSDg0aAogICAgICBhdWRpZW5jZU1hdGNoUG9saWN5OiBNYXRjaEFueQogICAgY2xhaW1NYXBwaW5nczoKICAgICAgdXNlcm5hbWU6CiAgICAgICAgY2xhaW06ICJzdWIiCiAgICAgICAgcHJlZml4OiAiIgogICAgICBncm91cHM6CiAgICAgICAgY2xhaW06ICJncm91cHMiCiAgICAgICAgcHJlZml4OiAiIgogICAgICB1aWQ6CiAgICAgICAgY2xhaW06ICJzdWIiCg=="
81+
}
82+
83+
variable "cluster_options_persistent_volume_config_defined_tags_value" {
84+
default = "value"
85+
}
86+
87+
variable "cluster_options_persistent_volume_config_freeform_tags" {
88+
default = { "Department" = "Finance" }
89+
}
90+
91+
variable "cluster_options_service_lb_config_defined_tags_value" {
92+
default = "value"
93+
}
94+
95+
variable "cluster_options_service_lb_config_freeform_tags" {
96+
default = { "Department" = "Finance" }
97+
}
98+
99+
variable "cluster_options_service_lb_subnet_ids" {
100+
default = []
101+
}
102+
103+
variable "cluster_state" {
104+
default = []
105+
}
106+
107+
variable "cluster_type" {
108+
default = "ENHANCED_CLUSTER"
109+
}
110+
111+
112+
113+
provider "oci" {
114+
region = var.region
115+
auth = "SecurityToken"
116+
config_file_profile = "terraform-federation-test"
117+
}
118+
119+
#variable defined_tag_namespace_name {
120+
# default = "test"
121+
#}
122+
123+
resource "oci_core_vcn" "test_vcn" {
124+
cidr_block = "10.0.0.0/16"
125+
compartment_id = var.compartment_ocid
126+
display_name = "tfVcnForClusters"
127+
}
128+
129+
resource "oci_core_internet_gateway" "test_ig" {
130+
compartment_id = var.compartment_ocid
131+
display_name = "tfClusterInternetGateway"
132+
vcn_id = oci_core_vcn.test_vcn.id
133+
}
134+
135+
#resource "oci_identity_tag_namespace" "tag-namespace1" {
136+
# #Required
137+
# compartment_id = var.tenancy_ocid
138+
# description = "example tag namespace"
139+
# name = var.defined_tag_namespace_name != "" ? var.defined_tag_namespace_name : "example-tag-namespace-all"
140+
#
141+
# is_retired = false
142+
#}
143+
144+
resource "oci_core_route_table" "test_route_table" {
145+
compartment_id = var.compartment_ocid
146+
vcn_id = oci_core_vcn.test_vcn.id
147+
display_name = "tfClustersRouteTable"
148+
149+
route_rules {
150+
destination = "0.0.0.0/0"
151+
destination_type = "CIDR_BLOCK"
152+
network_entity_id = oci_core_internet_gateway.test_ig.id
153+
}
154+
}
155+
156+
data "oci_identity_availability_domains" "test_availability_domains" {
157+
compartment_id = var.tenancy_ocid
158+
}
159+
160+
data "oci_identity_availability_domain" "ad1" {
161+
compartment_id = var.tenancy_ocid
162+
ad_number = 1
163+
}
164+
165+
data "oci_identity_availability_domain" "ad2" {
166+
compartment_id = var.tenancy_ocid
167+
ad_number = 2
168+
}
169+
170+
resource "oci_core_subnet" "clusterSubnet_2" {
171+
#Required
172+
availability_domain = data.oci_identity_availability_domain.ad2.name
173+
cidr_block = "10.0.21.0/24"
174+
compartment_id = var.compartment_ocid
175+
vcn_id = oci_core_vcn.test_vcn.id
176+
display_name = "tfSubNet1ForClusters"
177+
178+
# Provider code tries to maintain compatibility with old versions.
179+
security_list_ids = [oci_core_vcn.test_vcn.default_security_list_id]
180+
route_table_id = oci_core_route_table.test_route_table.id
181+
}
182+
183+
resource "oci_containerengine_cluster" "test_cluster_multi_issuer" {
184+
#Required
185+
compartment_id = var.compartment_ocid
186+
kubernetes_version = "v1.30.1"
187+
name = "tfTestMultiIssuer"
188+
vcn_id = oci_core_vcn.test_vcn.id
189+
190+
#Optional
191+
# defined_tags = map(oci_identity_tag_namespace.tag-namespace1.name.oci_identity_tag.tag1.name, var.cluster_defined_tags_value)
192+
193+
freeform_tags = var.cluster_freeform_tags
194+
options {
195+
196+
#Optional
197+
add_ons {
198+
199+
#Optional
200+
is_kubernetes_dashboard_enabled = var.cluster_options_add_ons_is_kubernetes_dashboard_enabled
201+
is_tiller_enabled = var.cluster_options_add_ons_is_tiller_enabled
202+
}
203+
admission_controller_options {
204+
205+
#Optional
206+
is_pod_security_policy_enabled = var.cluster_options_admission_controller_options_is_pod_security_policy_enabled
207+
}
208+
kubernetes_network_config {
209+
210+
#Optional
211+
pods_cidr = var.cluster_options_kubernetes_network_config_pods_cidr
212+
services_cidr = var.cluster_options_kubernetes_network_config_services_cidr
213+
}
214+
open_id_connect_token_authentication_config {
215+
#Required
216+
is_open_id_connect_auth_enabled = var.cluster_options_open_id_connect_token_authentication_config_is_open_id_connect_auth_enabled
217+
218+
#Optional
219+
configuration_file = var.cluster_options_open_id_connect_token_authentication_config_configuration_file
220+
}
221+
}
222+
type = var.cluster_type
223+
}
224+
225+
data "oci_containerengine_clusters" "test_clusters" {
226+
#Required
227+
compartment_id = var.compartment_ocid
228+
229+
#Optional
230+
name = var.cluster_name
231+
state = var.cluster_state
232+
}

examples/database/db_systems/db_exacs/resources.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ resource "oci_database_cloud_exadata_infrastructure" "test_cloud_exadata_infrast
1212
subscription_id = var.tenant_subscription_id
1313
compute_count = var.cloud_exadata_infrastructure_compute_count
1414
storage_count = var.cloud_exadata_infrastructure_storage_count
15+
database_server_type = var.cloud_exadata_infrastructure_database_server_type
16+
storage_server_type = var.cloud_exadata_infrastructure_storage_server_type
1517
}
1618

1719
resource "oci_database_cloud_vm_cluster" "test_cloud_vm_cluster" {

examples/database/db_systems/db_exacs/variables.tf

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ variable "ssh_public_key" {
1515
variable "ssh_private_key" {}
1616

1717
variable "cloud_exadata_infrastructure_shape" {
18-
default = "Exadata.X8M"
18+
default = "Exadata.X11M"
19+
}
20+
21+
variable "cloud_exadata_infrastructure_database_server_type" {
22+
default = "X11M"
23+
}
24+
25+
variable "cloud_exadata_infrastructure_storage_server_type" {
26+
default = "X11M-HC"
1927
}
2028

2129
variable "cloud_exadata_infrastructure_cluster_placement_group_id" {
@@ -35,7 +43,7 @@ variable "cloud_exadata_infrastructure_storage_count" {
3543
}
3644

3745
variable "cloud_vm_cluster_cpu_core_count" {
38-
default = "8"
46+
default = "16"
3947
}
4048

4149
variable "cloud_vm_cluster_ocpu_count" {

examples/database/exadata_cc/exadata-infrastructure.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ resource "oci_database_exadata_infrastructure" "test_exadata_infrastructure" {
4242
infini_band_network_cidr = "10.31.8.0/21"
4343
netmask = "255.255.255.0"
4444
ntp_server = ["10.231.225.76"]
45-
shape = "ExadataCC.X7"
45+
shape = "ExadataCC.X11M"
4646
time_zone = "US/Pacific"
4747
activation_file = "activation.zip"
4848
storage_count = 3
4949
compute_count = 2
5050
is_cps_offline_report_enabled = false
5151
is_multi_rack_deployment = false
52+
database_server_type = "X11M"
53+
storage_server_type = "X11M-HC"
5254

5355
#Optional
5456
network_bonding_mode_details {

examples/database/exadata_cc/vm_cluster.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ resource "oci_database_vm_cluster" "test_vm_cluster" {
187187
cpu_core_count = "4"
188188
display_name = "testVmCluster"
189189
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
190-
gi_version = "23.0.0.0.0"
190+
gi_version = data.oci_database_gi_versions.gi_version.gi_versions.0.version
191191
ssh_public_keys = [var.ssh_public_key]
192192
vm_cluster_network_id = oci_database_vm_cluster_network.test_vm_cluster_network.id
193193
db_servers = [data.oci_database_db_servers.test_db_servers.db_servers.0.id, data.oci_database_db_servers.test_db_servers.db_servers.1.id]
@@ -344,9 +344,9 @@ data "oci_database_vm_clusters" "test_vm_clusters" {
344344
#Optional
345345
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
346346
}
347-
/*
347+
348348
resource "local_file" "test_vm_cluster_network_downloaded_config_file" {
349349
content = data.oci_database_vm_cluster_network_download_config_file.test_vm_cluster_network_download_config_file.content
350350
filename = "${path.module}/vm_cluster_config.txt"
351351
}
352-
*/
352+

examples/database/flex_component/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ provider "oci" {
2020
region = var.region
2121
}
2222

23+
variable "flex_component_shape" {
24+
default = "shape"
25+
}
26+
2327
data "oci_database_flex_components" "test_flex_components" {
2428
#Required
2529
compartment_id = "${var.compartment_ocid}"
2630

2731
#Optional
2832
name = var.flex_component_name
33+
shape = var.flex_component_shape
2934
}

0 commit comments

Comments
 (0)