Skip to content

Commit accb60c

Browse files
authored
Merge pull request #2099 from oracle/release_gh
Releasing version 5.39.0
2 parents f4f8330 + 7ebb6e4 commit accb60c

File tree

1,135 files changed

+31629
-3916
lines changed

Some content is hidden

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

1,135 files changed

+31629
-3916
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
## 5.38.0 (April 17, 2024)
1+
## 5.39.0 (April 24, 2024)
2+
3+
### Added
4+
- Support for Cluster Placement Group- Service
5+
- clusterPlacementGroupId terraform implementation and tests
6+
- add cluster placement group capability for block and boot volumes
7+
- Support for Compute API: Replace instance boot volume via UpdateInstance
8+
- Support for Oracle Process Automation (OPA) : Support for Start/Stop operation in Public API
9+
- Support for ODSC - Model Deploy - Custom Public Egress Support
10+
- Support for Cost Management - Usage Statements
11+
- Support for Oracle Home Version Control - Phase 2 | ADB-D and ADB-C@C
12+
- Support for OCI Cache Service with Redis - NSG Support
13+
- Fixed AWS_S3 migrations bug, update resource issue with the optional atributes and documentation added
14+
### Bug Fix
15+
- update architecture code due to param type change to Enum
16+
- logSourceIdentifer updates for logging Analytics connectors
17+
- Update psql Documentaiton for TF Provider
18+
19+
## 5.38.0 (April 24, 2024)
220

321
### Added
422
- Support for Oracle Process Automation (OPA) : Support for Start/Stop operation in Public API

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ This directory contains Terraform configuration files showing how to create spec
4747
[![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/cloudMigrations.zip)
4848
- cloudguard
4949
[![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/cloudguard.zip)
50+
- cluster_placement_groups
51+
[![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/cluster_placement_groups.zip)
5052
- compute
5153
[![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/compute.zip)
5254
- computecloudatcustomer
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
locals {
5+
cpg_name = "TestCpg3"
6+
}
7+
variable "tenancy_ocid" {
8+
9+
}
10+
11+
12+
variable "region" {
13+
}
14+
15+
16+
provider "oci" {
17+
tenancy_ocid = var.tenancy_ocid
18+
region = var.region
19+
}
20+
21+
22+
data "oci_identity_availability_domain" "ad" {
23+
compartment_id = var.tenancy_ocid
24+
ad_number = 1
25+
}
26+
27+
#resource "oci_cluster_placement_groups_cluster_placement_group" "test_cpg" {
28+
# #Required
29+
# compartment_id = var.tenancy_ocid
30+
# description = "cpg for compute block resources"
31+
# name = local.cpg_name
32+
# availability_domain = "${data.oci_identity_availability_domain.ad.name}"
33+
# cluster_placement_group_type = "STANDARD"
34+
35+
# depends_on = [oci_identity_tag.tag1]
36+
37+
# defined_tags = {
38+
# "${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "value"
39+
# }
40+
41+
# freeform_tags = {
42+
# "Department" = "Finance"
43+
# }
44+
#}
45+
46+
47+
48+
#data "oci_cluster_placement_groups_cluster_placement_group" "test_cpg" {
49+
# cluster_placement_group_id = oci_cluster_placement_groups_cluster_placement_group.test_cpg.id
50+
#}
51+
52+
data "oci_cluster_placement_groups_cluster_placement_groups" "test_cpgs" {
53+
#Required
54+
compartment_id = var.tenancy_ocid
55+
}
56+
output "list_cpgs" {
57+
value = data.oci_cluster_placement_groups_cluster_placement_groups.test_cpgs
58+
}
59+
60+
#output "get_cpg" {
61+
# value = data.oci_cluster_placement_groups_cluster_placement_group.test_cpg
62+
#}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the Cluster Placement Groups service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![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/cluster_placement_groups.zip)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Overview
2+
This is a Terraform configuration that creates the Cluster Placement Groups service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
locals {
5+
cpg_name = "TestCpg3"
6+
}
7+
variable "tenancy_ocid" {
8+
9+
}
10+
11+
# variable "user_ocid" {
12+
# }
13+
14+
15+
variable "region" {
16+
}
17+
18+
19+
provider "oci" {
20+
tenancy_ocid = var.tenancy_ocid
21+
region = var.region
22+
}
23+
24+
25+
data "oci_identity_availability_domain" "ad" {
26+
compartment_id = var.tenancy_ocid
27+
ad_number = 1
28+
}
29+
30+
resource "oci_cluster_placement_groups_cluster_placement_group" "test_cpg" {
31+
#Required
32+
compartment_id = var.tenancy_ocid
33+
description = "cpg for compute & block resources"
34+
name = local.cpg_name
35+
availability_domain = "${data.oci_identity_availability_domain.ad.name}"
36+
cluster_placement_group_type = "STANDARD"
37+
38+
depends_on = [oci_identity_tag.tag1]
39+
40+
#Optional
41+
defined_tags = {
42+
"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "value"
43+
}
44+
45+
freeform_tags = {
46+
"Department" = "Finance"
47+
}
48+
}
49+
50+
51+
52+
data "oci_cluster_placement_groups_cluster_placement_group" "test_cpg" {
53+
cluster_placement_group_id = oci_cluster_placement_groups_cluster_placement_group.test_cpg.id
54+
}
55+
56+
data "oci_cluster_placement_groups_cluster_placement_groups" "test_cpgs" {
57+
#Required
58+
compartment_id = var.tenancy_ocid
59+
}
60+
output "list_cpgs" {
61+
value = data.oci_cluster_placement_groups_cluster_placement_groups.test_cpgs
62+
}
63+
64+
output "get_cpg" {
65+
value = data.oci_cluster_placement_groups_cluster_placement_group.test_cpg
66+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 "oci_identity_tag_namespace" "tag-namespace1" {
5+
#Required
6+
compartment_id = var.tenancy_ocid
7+
description = "Just a test"
8+
name = "testexamples-tag-namespace-1"
9+
}
10+
11+
resource "oci_identity_tag" "tag1" {
12+
depends_on = [oci_identity_tag_namespace.tag-namespace1]
13+
#Required
14+
description = "tf example tag"
15+
name = "tf-example-tag"
16+
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id
17+
}
18+
19+
resource "oci_identity_tag" "tag2" {
20+
#Required
21+
description = "tf example tag 2"
22+
name = "tf-example-tag-2"
23+
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id
24+
}
25+

examples/compute/instance/instance.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ variable "instance_shape_config_memory_in_gbs" {
6868
default = 1
6969
}
7070

71+
variable "cluster_placement_group_ocid" {
72+
}
73+
7174
variable "instance_image_ocid" {
7275
type = map(string)
7376

@@ -104,11 +107,11 @@ variable "tag_namespace_name" {
104107
}
105108

106109
resource "oci_core_instance" "test_instance" {
107-
count = var.num_instances
108-
availability_domain = data.oci_identity_availability_domain.ad.name
109-
compartment_id = var.compartment_ocid
110-
display_name = "TestInstance${count.index}"
111-
shape = var.instance_shape
110+
count = var.num_instances
111+
availability_domain = data.oci_identity_availability_domain.ad.name
112+
compartment_id = var.compartment_ocid
113+
display_name = "TestInstance${count.index}"
114+
shape = var.instance_shape
112115

113116
shape_config {
114117
ocpus = var.instance_ocpus

examples/databasemigration/migration/migration.tf

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ resource "oci_database_migration_migration" "test_migration" {
245245
compartment_id = var.compartment_id
246246

247247
#csvText - Optional
248-
csv_text = "MY_BIZZ,SRC_CITY,TABLE,EXCLUDE"
248+
//csv_text = "MY_BIZZ,SRC_CITY,TABLE,EXCLUDE"
249249
golden_gate_service_details {
250250
settings {
251251
acceptable_lag = "10"
@@ -262,7 +262,15 @@ resource "oci_database_migration_migration" "test_migration" {
262262
}
263263
}
264264
data_transfer_medium_details_v2 {
265-
type = "NFS"
265+
type = "AWS_S3"
266+
access_key_id = "abc"
267+
object_storage_bucket {
268+
bucket = "bucket"
269+
namespace = "namespace"
270+
}
271+
name = "AWS-S3"
272+
region = "Ashburn"
273+
secret_access_key = "3xYJLMQkRDROe7/QzrZTgRDzeq2akfkn+Hb+C95D"
266274
}
267275
datapump_settings {
268276
export_directory_object {

examples/network_load_balancer/network_load_balancer_full/nlb_full.tf

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,10 @@ resource "oci_network_load_balancer_network_load_balancer" "nlb1" {
346346
}
347347

348348
resource "oci_network_load_balancer_backend_set" "nlb-bes1" {
349-
name = "nlb-bes1"
350-
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
351-
policy = "TWO_TUPLE"
349+
name = "nlb-bes1"
350+
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
351+
policy = "TWO_TUPLE"
352+
is_instant_failover_enabled = true
352353

353354
health_checker {
354355
port = "80"
@@ -363,10 +364,11 @@ resource "oci_network_load_balancer_backend_set" "nlb-bes1" {
363364
}
364365

365366
resource "oci_network_load_balancer_backend_set" "nlb-bes2" {
366-
name = "nlb-bes2"
367-
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
368-
policy = "THREE_TUPLE"
369-
is_fail_open = true
367+
name = "nlb-bes2"
368+
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
369+
policy = "THREE_TUPLE"
370+
is_instant_failover_enabled = true
371+
is_fail_open = true
370372

371373
health_checker {
372374
port = "443"
@@ -378,14 +380,16 @@ resource "oci_network_load_balancer_backend_set" "nlb-bes2" {
378380
interval_in_millis = 10000
379381
retries = 3
380382
}
381-
depends_on = [oci_network_load_balancer_backend_set.nlb-bes1]
383+
depends_on = [oci_network_load_balancer_backend_set.nlb-bes1]
382384
}
383385

384386
resource "oci_network_load_balancer_backend_set" "nlb-bes3" {
385387
name = "nlb-bes3"
386388
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
387389
policy = "THREE_TUPLE"
388390
is_fail_open = false
391+
is_instant_failover_enabled = false
392+
389393

390394
health_checker {
391395
port = "53"
@@ -528,4 +532,4 @@ resource "oci_network_load_balancer_backend" "nlb-be-ipv6" {
528532
is_offline = false
529533
weight = 1
530534
depends_on = [oci_network_load_balancer_listener.nlb-listener-ipv6]
531-
}
535+
}

0 commit comments

Comments
 (0)