Skip to content

Commit 4185ea1

Browse files
authored
Merge pull request #2088 from oracle/release_gh
Releasing version 5.37.0
2 parents 7d7dcca + c6cd68d commit 4185ea1

File tree

227 files changed

+2658
-474
lines changed

Some content is hidden

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

227 files changed

+2658
-474
lines changed

CHANGELOG.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 5.37.0 (April 09, 2024)
2+
3+
### Added
4+
- Stack Monitoring: Extensibility support phase 2
5+
- Support for DNS-Aware Healthcheck Backend
6+
- Support for NLB Instantaneous Backend Failover
7+
- Support for DataFlow Composite Resource Principal Support
8+
- DataFlow Composite Resource Principal Support Optional Param Example
9+
### Bug Fix
10+
- Devops Deploy Deployment Execution Progress
11+
- Fix position issues with security/decryption rule during update
12+
- Network firewall policy fix for empty items in list network firewall policies
13+
- add logic to ensure object_name_filter is automatically set to null if target is multipart-uploads while creating object storage lifecycle policy
14+
115
## 5.36.0 (April 03, 2024)
216

317
### Added
@@ -6,22 +20,30 @@
620
- Support for Support for TLS 1.3
721
- Support for Telesis IPv6 Single Stack/ Private IP Support
822
- Support for Cloudguard-Logging Integration for JWCC - Customer Enablement
9-
23+
- Support for ADB-S: Refreshable Clones (Phase 2 with Automatic Refresh)
24+
support for Devops Deploy Helm Uninstall/Open Cli
25+
- Support for Database Management MySQL Heatwave
26+
- Support for UMA metrics, filter plugin and read_logs_from_head enablement
27+
- Support for NLB Transparent Mode(Non-SNAT Use Case)
28+
- Support for Alarms enhancements
29+
- Support for create_task API for Rest task
1030
### Bug Fix
11-
- Remove computed: true from the SecretContent.Name field. Manually add the logic to set both the name and content to null if nothing is provided.
31+
Remove computed: true from the SecretContent.Name field. Manually add the logic to set both the name and content to null if nothing is provided.
1232
- Handle empty members in DR Protection Group
1333

34+
1435
## 5.35.0 (March 27, 2024)
1536

1637
### Added
1738
- Support for ADB-S: Refreshable Clones (Phase 2 with Automatic Refresh)
18-
- Support for Devops Deploy Helm Uninstall/Open Cli
39+
support for Devops Deploy Helm Uninstall/Open Cli
1940
- Support for Database Management MySQL Heatwave
2041
- Support for UMA metrics, filter plugin and read_logs_from_head enablement
2142
- Support for NLB Transparent Mode(Non-SNAT Use Case)
2243
- Support for Alarms enhancements
2344
- Support for create_task API for Rest task
2445

46+
2547
## 5.34.0 (March 19, 2024)
2648

2749
### Added

examples/dataflow/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ resource "oci_dataflow_invoke_run" "tf_invoke_run" {
140140
#freeform_tags = var.invoke_run_freeform_tags}"
141141
#logs_bucket_uri = var.invoke_run_logs_bucket_uri}"
142142
#num_executors = var.invoke_run_num_executors}"
143+
#opc_parent_rpt_url = var.invoke_run_opc_parent_rpt_url}"
143144

144145
#parameters {
145146
#Required
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "oci_containerengine_cluster" "test_cluster" {
22
#Required
33
compartment_id = var.compartment_ocid
4-
kubernetes_version = "v1.21.5"
4+
kubernetes_version = "v1.27.2"
55
name = "cluster"
66
vcn_id = oci_core_vcn.test_vcn.id
77
}

examples/devops/deployment_service/helm_diff/oke_helm_diff_deployment.tf

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
variable "tenancy_ocid" {
55
}
66

7-
variable "user_ocid" {
8-
}
9-
10-
variable "fingerprint" {
11-
}
12-
13-
variable "private_key_path" {
14-
}
15-
167
variable "compartment_ocid" {
178
}
189

@@ -22,9 +13,6 @@ variable "region" {
2213
provider "oci" {
2314
region = var.region
2415
tenancy_ocid = var.tenancy_ocid
25-
user_ocid = var.user_ocid
26-
fingerprint = var.fingerprint
27-
private_key_path = var.private_key_path
2816
}
2917

3018
resource "random_string" "topicname" {
@@ -68,8 +56,8 @@ resource "oci_devops_deploy_artifact" "test_deploy_helm_artifact" {
6856
argument_substitution_mode = "NONE"
6957
deploy_artifact_source {
7058
deploy_artifact_source_type = "HELM_CHART"
71-
chart_url = "iad.ocir.io/ax022wvgmjpq/fake"
72-
deploy_artifact_version = "0.1"
59+
chart_url = "oci://us-ashburn-1.ocir.io/idkxrdu9epyt/helm-test-chart"
60+
deploy_artifact_version = "0.0.1"
7361
}
7462
}
7563

@@ -88,13 +76,14 @@ resource "oci_devops_deploy_stage" "test_helm_deploy_stage" {
8876
#Required
8977
items {
9078
#Required
91-
id = oci_devops_deploy_stage.test_oke_canary_traffic_shift_deploy_stage.id
79+
id = oci_devops_deploy_pipeline.test_deploy_pipeline.id
9280
}
9381
}
9482
deploy_stage_type = "OKE_HELM_CHART_DEPLOYMENT"
9583
release_name = "release-name"
9684
purpose = "EXECUTE_HELM_UPGRADE"
9785
helm_chart_deploy_artifact_id = oci_devops_deploy_artifact.test_deploy_helm_artifact.id
86+
oke_cluster_deploy_environment_id = oci_devops_deploy_environment.test_deploy_oke_environment.id
9887
}
9988

10089
resource "oci_devops_deployment" "test_deployment" {

examples/network_firewall/network_firewall_policy/network_firewall_policy_decryption_rule.tf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ variable "network_firewall_policy_decryption_rule_secret" {
4242
}
4343

4444
resource "oci_network_firewall_network_firewall_policy_decryption_rule" "test_network_firewall_policy_decryption_rule_no_decryption" {
45-
lifecycle {
46-
ignore_changes = [position]
47-
}
4845
#Required
4946
name = var.network_firewall_policy_decryption_rule_name_no_decrypt
5047
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
@@ -66,12 +63,6 @@ resource "oci_network_firewall_network_firewall_policy_decryption_rule" "test_ne
6663
}
6764

6865
resource "oci_network_firewall_network_firewall_policy_decryption_rule" "test_network_firewall_policy_decryption_rule_with_decryption" {
69-
lifecycle {
70-
# ignore changes to position
71-
ignore_changes = [
72-
position
73-
]
74-
}
7566
#Required
7667
name = var.network_firewall_policy_decryption_rule_name_decrypt
7768
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id

examples/network_firewall/network_firewall_policy/network_firewall_policy_security_rule.tf

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ variable "network_firewall_policy_security_rule_security_rule_priority_order" {
4545
}
4646

4747
resource "oci_network_firewall_network_firewall_policy_security_rule" "test_network_firewall_policy_security_rule_allow" {
48-
lifecycle {
49-
# ignore changes to position
50-
ignore_changes = [
51-
position
52-
]
53-
}
5448
#Required
5549
name = var.network_firewall_policy_security_rule_allow_name
5650
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
@@ -73,12 +67,6 @@ resource "oci_network_firewall_network_firewall_policy_security_rule" "test_netw
7367
}
7468

7569
resource "oci_network_firewall_network_firewall_policy_security_rule" "test_network_firewall_policy_security_rule_inspect" {
76-
lifecycle {
77-
# ignore changes to position
78-
ignore_changes = [
79-
position
80-
]
81-
}
8270
#Required
8371
name = var.network_firewall_policy_security_rule_inspect_name
8472
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
@@ -101,12 +89,6 @@ resource "oci_network_firewall_network_firewall_policy_security_rule" "test_netw
10189
}
10290

10391
resource "oci_network_firewall_network_firewall_policy_security_rule" "test_network_firewall_policy_security_rule_empty_condition" {
104-
lifecycle {
105-
# ignore changes to position
106-
ignore_changes = [
107-
position
108-
]
109-
}
11092
#Required
11193
name = var.network_firewall_policy_security_rule_empty_condition_name
11294
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id

examples/network_load_balancer/backend_set_unified/backend_set_unified.tf

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,14 @@ variable "compartment_ocid" {
1919
variable "region" {
2020
}
2121

22-
variable "instance_image_ocid" {
23-
type = map(string)
24-
25-
default = {
26-
# See https://docs.us-phoenix-1.oraclecloud.com/images/
27-
# Oracle-provided image "Oracle-Linux-7.5-2018.10.16-0"
28-
us-phoenix-1 = ""
29-
us-ashburn-1 = ""
30-
eu-frankfurt-1 = ""
31-
uk-london-1 = ""
32-
}
22+
# See https://docs.oracle.com/iaas/images/
23+
data "oci_core_images" "test_images" {
24+
compartment_id = var.compartment_ocid
25+
operating_system = "Oracle Linux"
26+
operating_system_version = "8"
27+
shape = var.instance_shape
28+
sort_by = "TIMECREATED"
29+
sort_order = "DESC"
3330
}
3431

3532
variable "instance_shape" {
@@ -154,7 +151,7 @@ resource "oci_core_instance" "instance1" {
154151

155152
source_details {
156153
source_type = "image"
157-
source_id = var.instance_image_ocid[var.region]
154+
source_id = lookup(data.oci_core_images.test_images.images[0], "id")
158155
}
159156
}
160157

@@ -212,22 +209,22 @@ resource "oci_network_load_balancer_network_load_balancers_backend_sets_unified"
212209
}
213210

214211
backends {
215-
ip_address = "10.0.0.3"
216-
port = 80
217-
is_backup = false
218-
is_drain = false
219-
is_offline = false
220-
weight = 1
212+
ip_address = "10.0.0.3"
213+
port = 80
214+
is_backup = false
215+
is_drain = false
216+
is_offline = false
217+
weight = 1
221218
}
222219

223-
backends {
224-
target_id = oci_core_instance.instance1.id
225-
port = 20
226-
is_backup = false
227-
is_drain = false
228-
is_offline = false
229-
weight = 1
230-
}
220+
backends {
221+
ip_address = oci_core_instance.instance1.private_ip
222+
port = 20
223+
is_backup = false
224+
is_drain = false
225+
is_offline = false
226+
weight = 1
227+
}
231228
depends_on = [oci_network_load_balancer_network_load_balancer.nlb1]
232229
}
233230

examples/network_load_balancer/network_load_balancer_full/nlb_full.tf

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,27 @@ resource "oci_core_security_list" "securitylist1" {
199199
max = 443
200200
}
201201
}
202+
203+
ingress_security_rules {
204+
protocol = "6"
205+
source = "10.1.0.0/16"
206+
207+
tcp_options {
208+
min = 53
209+
max = 53
210+
}
211+
}
212+
213+
ingress_security_rules {
214+
protocol = "17"
215+
source = "10.1.0.0/16"
216+
217+
udp_options {
218+
min = 53
219+
max = 53
220+
}
221+
}
222+
202223
}
203224

204225
/* Instances */
@@ -242,7 +263,16 @@ hostname >> /var/www/html/index.html
242263
echo '' >> /var/www/html/index.html
243264
cat /etc/os-release >> /var/www/html/index.html
244265
echo '</code></pre></body></html>' >> /var/www/html/index.html
266+
267+
yum -y install bind bind-utils
268+
sed -i 's/127.0.0.1/any/' /etc/named.conf
269+
sed -i 's/::1/any/' /etc/named.conf
270+
sed -i 's/localhost;/any;/' /etc/named.conf
271+
systemctl enable named
272+
systemctl start named
273+
245274
firewall-offline-cmd --add-service=http
275+
firewall-offline-cmd --add-service=dns
246276
systemctl enable firewalld
247277
systemctl restart firewalld
248278
@@ -336,6 +366,7 @@ resource "oci_network_load_balancer_backend_set" "nlb-bes2" {
336366
name = "nlb-bes2"
337367
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
338368
policy = "THREE_TUPLE"
369+
is_fail_open = true
339370

340371
health_checker {
341372
port = "443"
@@ -354,16 +385,21 @@ resource "oci_network_load_balancer_backend_set" "nlb-bes3" {
354385
name = "nlb-bes3"
355386
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
356387
policy = "THREE_TUPLE"
388+
is_fail_open = false
357389

358390
health_checker {
359-
port = "443"
360-
protocol = "HTTPS"
361-
url_path = "/testPath"
362-
return_code = 200
363-
response_body_regex = "^(?i)(true)$"
391+
port = "53"
392+
protocol = "DNS"
364393
timeout_in_millis = 10000
365394
interval_in_millis = 10000
366395
retries = 3
396+
dns {
397+
domain_name = "oracle.com"
398+
query_class = "IN"
399+
query_type = "A"
400+
rcodes = ["NOERROR", "SERVFAIL"]
401+
transport_protocol = "UDP"
402+
}
367403
}
368404
depends_on = [oci_network_load_balancer_backend_set.nlb-bes2]
369405
}
@@ -390,7 +426,7 @@ resource "oci_network_load_balancer_listener" "nlb-listener3" {
390426
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
391427
name = "tcp_and_udp_listener"
392428
default_backend_set_name = oci_network_load_balancer_backend_set.nlb-bes3.name
393-
port = 100
429+
port = 8080
394430
protocol = "TCP_AND_UDP"
395431
depends_on = [oci_network_load_balancer_listener.nlb-listener2]
396432
}
@@ -492,4 +528,4 @@ resource "oci_network_load_balancer_backend" "nlb-be-ipv6" {
492528
is_offline = false
493529
weight = 1
494530
depends_on = [oci_network_load_balancer_listener.nlb-listener-ipv6]
495-
}
531+
}

examples/object_storage/bucket_with_lifeCyclePolicyRule/lifeCyclePolicyRules.tf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
/*
55
* This example shows how to add lifeCyclePolicyRules to a bucket
6+
* object_name_filter attribute is ignored for target of type multipart uploads
67
*/
78

89
variable "tenancy_ocid" {
@@ -62,12 +63,18 @@ resource "oci_objectstorage_object_lifecycle_policy" "lifecyclePolicy" {
6263
#Required
6364
action = "ABORT"
6465
is_enabled = "true"
65-
name = "test-rule-1"
66+
name = "test-rule-2"
6667
time_amount = "10"
6768
time_unit = "DAYS"
6869

6970
#Optional
7071
target = "multipart-uploads"
72+
73+
#Will be ignored as target is multipart-uploads
74+
object_name_filter {
75+
#Optional
76+
inclusion_prefixes = ["this-prefix-will-be-ignored"]
77+
}
7178
}
7279
}
7380

0 commit comments

Comments
 (0)