Skip to content

Commit 6078a44

Browse files
authored
Merge pull request #1915 from oracle/release_gh
Releasing version 5.4.0
2 parents aeaf0f8 + a0cbfd4 commit 6078a44

File tree

403 files changed

+23286
-508
lines changed

Some content is hidden

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

403 files changed

+23286
-508
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 5.4.0 (July 12, 2023)
2+
3+
### Added
4+
- Support for Multitenant support for Workload Identity (WRIS)
5+
- Support for KMS key Rotation for Block/Boot Volume Backups
6+
- Support for 3rd VM Cluster Network for DR (Data Guard) | Exa-DB-C@C (ExaCC)
7+
- Support for Upgrade - Personal to Corporate
8+
- Support for APM - Synthetics - Disable automatic screenshots - API Only
9+
- Support migration without SSH to DB Host.
10+
- Support for Patch One-Off Download Support DBCS-EXaCS-ExaCC Update
11+
### Bug Fix
12+
- Adding rack_serial_number in database_exadata_infrastructure_resource.go
13+
- Resolved Resource Discovery issue for Terraform Version Greater than 1.3
14+
115
## 5.3.0 (June 28, 2023)
216

317
### Added

examples/apm/apm_synthetics/monitors/monitor.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ variable "monitor_configuration_is_certificate_validation_enabled" {
4040
default = false
4141
}
4242

43+
variable "monitor_configuration_is_default_snapshot_enabled" {
44+
default = false
45+
}
46+
4347
variable "monitor_configuration_is_failure_retried" {
4448
default = false
4549
}
@@ -185,6 +189,7 @@ resource "oci_apm_synthetics_monitor" "test_monitor" {
185189
is_certificate_validation_enabled = var.monitor_configuration_is_certificate_validation_enabled
186190
is_failure_retried = var.monitor_configuration_is_failure_retried
187191
is_redirection_enabled = var.monitor_configuration_is_redirection_enabled
192+
is_default_snapshot_enabled = var.monitor_configuration_is_default_snapshot_enabled
188193

189194
#Optional
190195
network_configuration {

examples/compute/instance/rd/core.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## This is tmp config to run import for resources
2+
data "oci_core_instance" "test_instance" {
3+
#Required
4+
instance_id = "ocid1.instance.oc1.phx.anyhqljsjcdxrhqcovs45jnvimoshybmoddqtuf2xy5zzq3ph3fuwj7ugbla"
5+
}
6+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
provider oci {
2+
region = var.region
3+
}

examples/compute/instance/rd/vars.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
variable region { default = "us-phoenix-1" }
2+
variable tenancy_ocid { default = "ocid1.tenancy.oc1..aaaaaaaagkbzgg6lpzrf47xzy4rjoxg4de6ncfiq2rncmjiujvy2hjgxvziq" }
3+
variable compartment_ocid { default = "ocid1.tenancy.oc1..aaaaaaaagkbzgg6lpzrf47xzy4rjoxg4de6ncfiq2rncmjiujvy2hjgxvziq" }

examples/container_engine/main.tf

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,22 @@ variable "node_pool_state" {
5252
default = []
5353
}
5454

55+
variable "cluster_workload_mapping_namespace" {
56+
default = "namespace"
57+
}
58+
59+
variable "cluster_workload_mapping_defined_tags_value" {
60+
default = "value"
61+
}
62+
63+
variable "cluster_workload_mapping_freeform_tags" {
64+
default = { "Department" = "Finance" }
65+
}
66+
67+
variable defined_tag_namespace_name {
68+
default = "test"
69+
}
70+
5571
provider "oci" {
5672
region = var.region
5773
tenancy_ocid = var.tenancy_ocid
@@ -60,6 +76,24 @@ provider "oci" {
6076
private_key_path = var.private_key_path
6177
}
6278

79+
resource "oci_identity_tag_namespace" "tag-namespace1" {
80+
#Required
81+
compartment_id = var.tenancy_ocid
82+
description = "example tag namespace"
83+
name = var.defined_tag_namespace_name != "" ? var.defined_tag_namespace_name : "example-tag-namespace-all"
84+
85+
is_retired = false
86+
}
87+
88+
resource "oci_identity_tag" "tag1" {
89+
#Required
90+
description = "example tag"
91+
name = "example-tag"
92+
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id
93+
94+
is_retired = false
95+
}
96+
6397
data "oci_identity_availability_domain" "ad1" {
6498
compartment_id = var.tenancy_ocid
6599
ad_number = 1
@@ -268,6 +302,17 @@ resource "oci_containerengine_node_pool" "test_flex_shape_node_pool" {
268302
ssh_public_key = var.node_pool_ssh_public_key
269303
}
270304

305+
resource "oci_containerengine_cluster_workload_mapping" "test_cluster_workload_mapping" {
306+
#Required"
307+
cluster_id = oci_containerengine_cluster.test_cluster.id
308+
mapped_compartment_id = var.compartment_ocid
309+
namespace = var.cluster_workload_mapping_namespace
310+
311+
#Optional
312+
defined_tags = {"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "${var.cluster_workload_mapping_defined_tags_value}"}
313+
freeform_tags = var.cluster_workload_mapping_freeform_tags
314+
}
315+
271316
output "cluster" {
272317
value = {
273318
id = oci_containerengine_cluster.test_cluster.id

examples/database/exadata_cc_3rd_network/activation.zip

Whitespace-only changes.
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
// Copyright (c) 2017, 2023, 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 "ssh_public_key" {
23+
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCoUma91jRZV5yeAv46/JRFbd7t7J+yfopdvhh+aO3e7IFpQymdiWaTXFbONJnAqIGP90ux5icYEoNNTkcD1uf+kN/nPBjtUkla2PGNsZOkNFkQTVQxqHnGuLznP259MhCpWDXPnuwYGbsTT0LodWh9nq1v52viL7D/R6GJSz63IkgKqVebuSbqA+51hNwcpDic8MQ19Ilb0Z+sY7bGZnR2GTFNa6Bm9UGWAArOZ4ER453CmN96lX3KbimI6iW85Eny4OCndwOjK25JHXI4A7K3GVMoplyJtjBM5ExC7Xt3/L3yDNiF3oZbdHd3OQtmjajQeub2NlVU6+8AQJK/ecODQ7+S6DTZuPUma5KLEOMDXjrzYjXbBEkZaxu7kQK+KBIdhqSpkeZUr4OB+Qumd9B/WjMJOzLGLt1uJ2x7lgKlrDIfXAwWYm1cHEE0K7kDVFLtGEayF6E4cIHw70OoOyq6CSxaphkIFvsBYFfFx1rc8w1upKokzi489ij53mY/r8M= casey.pham@oracle.com"
24+
}
25+
26+
provider "oci" {
27+
tenancy_ocid = var.tenancy_ocid
28+
user_ocid = var.user_ocid
29+
fingerprint = var.fingerprint
30+
private_key_path = var.private_key_path
31+
region = "us-ashburn-1"
32+
//version = "4.121.0"
33+
}
34+
35+
resource "oci_database_exadata_infrastructure" "test_exadata_infrastructure" {
36+
#Required
37+
admin_network_cidr = "192.168.0.0/16"
38+
cloud_control_plane_server1 = "10.32.88.1"
39+
cloud_control_plane_server2 = "10.32.88.3"
40+
compartment_id = var.compartment_ocid
41+
display_name = "tstExaInfra"
42+
dns_server = ["10.231.225.65"]
43+
gateway = "10.32.88.5"
44+
infini_band_network_cidr = "10.31.8.0/21"
45+
netmask = "255.255.255.0"
46+
ntp_server = ["10.231.225.76"]
47+
shape = "ExadataCC.X7"
48+
time_zone = "US/Pacific"
49+
activation_file = "activation.zip"
50+
storage_count = 3
51+
compute_count = 2
52+
is_cps_offline_report_enabled = false
53+
is_multi_rack_deployment = false
54+
55+
#Optional
56+
network_bonding_mode_details {
57+
backup_network_bonding_mode = "ACTIVE_BACKUP"
58+
client_network_bonding_mode = "ACTIVE_BACKUP"
59+
}
60+
61+
#Optional
62+
contacts {
63+
email = "testuser2@testdomain.com"
64+
is_primary = "true"
65+
name = "name"
66+
phone_number = "1234567891"
67+
}
68+
69+
corporate_proxy = "http://192.168.19.1:80"
70+
/*defined_tags = {
71+
"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "updatedvalue"
72+
}
73+
74+
freeform_tags = {
75+
"Department" = "Accounting"
76+
}*/
77+
78+
maintenance_window {
79+
preference = "CUSTOM_PREFERENCE"
80+
81+
days_of_week {
82+
name = "TUESDAY"
83+
}
84+
85+
hours_of_day = ["4"]
86+
lead_time_in_weeks = 2
87+
88+
months {
89+
name = "JANUARY"
90+
}
91+
92+
months {
93+
name = "APRIL"
94+
}
95+
96+
months {
97+
name = "JULY"
98+
}
99+
100+
months {
101+
name = "OCTOBER"
102+
}
103+
104+
weeks_of_month = ["2"]
105+
106+
patching_mode = "ROLLING"
107+
108+
is_custom_action_timeout_enabled = true
109+
110+
custom_action_timeout_in_mins = 30
111+
}
112+
113+
}
114+
115+
data "oci_database_exadata_infrastructure_download_config_file" "test_exadata_infrastructure_download_config_file" {
116+
#Required
117+
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
118+
119+
#Optional
120+
base64_encode_content = true
121+
}
122+
123+
data "oci_database_exadata_infrastructures" "test_exadata_infrastructures" {
124+
#Required
125+
compartment_id = var.compartment_ocid
126+
}
127+
128+
/*
129+
resource "oci_identity_tag_namespace" "tag-namespace1" {
130+
#Required
131+
compartment_id = var.tenancy_ocid
132+
description = "tagNamespace1"
133+
name = "testexamples-tag-namespace1"
134+
}
135+
136+
resource "oci_identity_tag" "tag1" {
137+
#Required
138+
description = "tf example tag"
139+
name = "tf-example-tag"
140+
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id
141+
}
142+
*/
143+
144+
data "oci_identity_availability_domain" "ad" {
145+
compartment_id = var.tenancy_ocid
146+
ad_number = 1
147+
}
148+
149+
resource "local_file" "test_exadata_infrastructure_downloaded_config_file" {
150+
content = data.oci_database_exadata_infrastructure_download_config_file.test_exadata_infrastructure_download_config_file.content
151+
filename = "${path.module}/exadata_infrastructure_config.zip"
152+
}
153+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ZmFrZV9leGFjY19pbmZyYXN0cnVjdHVyZV9jb25maWc=

0 commit comments

Comments
 (0)