Skip to content

Commit cb60e90

Browse files
Merge pull request #1936 from oracle/release_gh
Releasing version 5.8.0
2 parents 0ead5b9 + c4bcffe commit cb60e90

File tree

1,170 files changed

+135526
-2930
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,170 files changed

+135526
-2930
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 5.8.0 (August 09, 2023)
2+
3+
### Added
4+
- Support for Oracle Cloud AI Services Language V2.3 - Enhancement
5+
- Support for ADB-S: Phase 2 - New ECPU-based SKUs for ADW and ATP
6+
- Support for ADB-S: Automatic failover with upto RPO amount (1 min) of data loss
7+
- Support for IdentityDomains/IDCS API - Phase 2
8+
- Support for Exclude tables for replication only
9+
- Changes to enable C3 in OPCTL
10+
- Support for Logging Analytics Gingko Release
11+
### Bug Fix
12+
- Null pointer exception in CVM resource
13+
114
## 5.7.0 (August 01, 2023)
215

316
### Added

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This directory contains Terraform configuration files showing how to create spec
77
[![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/aiAnomalyDetection.zip)
88
- aiDocument
99
[![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/aiDocument.zip)
10+
- aiLanguage
11+
[![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/aiLanguage.zip)
1012
- aiVision
1113
[![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/aiVision.zip)
1214
- always_free

examples/aiLanguage/README.md

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 AI Language 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/aiLanguage.zip)

examples/aiLanguage/description.md

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 AI Language 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.

examples/aiLanguage/main.tf

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
variable "tenancy_ocid" {
2+
default = ""
3+
}
4+
5+
variable "region" {
6+
default = ""
7+
}
8+
9+
variable "compartment_ocid" {
10+
default = ""
11+
}
12+
13+
variable "fingerprint" {
14+
default = ""
15+
}
16+
17+
variable "private_key_path" {
18+
default = ""
19+
}
20+
21+
provider "oci" {
22+
tenancy_ocid = var.tenancy_ocid
23+
fingerprint = var.fingerprint
24+
private_key_path = var.private_key_path
25+
region = var.region
26+
27+
}
28+
29+
variable defined_tag_namespace_name { default = "" }
30+
31+
32+
resource "oci_ai_language_project" "test_project" {
33+
compartment_id = var.compartment_ocid
34+
}
35+
36+
resource "oci_ai_language_model" "test_model" {
37+
compartment_id = var.compartment_ocid
38+
project_id = oci_ai_language_project.test_project.id
39+
description = "Creating test model"
40+
model_details {
41+
model_type = "NAMED_ENTITY_RECOGNITION"
42+
language_code = "en"
43+
}
44+
training_dataset {
45+
dataset_type = "OBJECT_STORAGE"
46+
location_details {
47+
location_type = "OBJECT_LIST"
48+
bucket = "TERSI-Test"
49+
namespace = "idngwwc5ajp5"
50+
object_names = ["test.jsonl"]
51+
}
52+
}
53+
}
54+
55+
resource "oci_ai_language_endpoint" "test_endpoint" {
56+
compartment_id = var.compartment_ocid
57+
model_id = oci_ai_language_model.test_model.id
58+
inference_units = 1
59+
}

examples/database/adb/autonomous_database.tf

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ resource "oci_database_autonomous_database" "test_autonomous_database_ecpu" {
6969
is_free_tier = "false"
7070
}
7171

72+
resource "oci_database_autonomous_database" "test_autonomous_database_local_adg_failover_data_loss_limit" {
73+
admin_password = random_string.autonomous_database_admin_password.result
74+
compartment_id = var.compartment_ocid
75+
cpu_core_count = "1"
76+
data_storage_size_in_tbs = "1"
77+
db_name = "adbLocalAdg"
78+
is_local_data_guard_enabled = "true"
79+
local_adg_auto_failover_max_data_loss_limit = "30"
80+
db_version = "19c"
81+
db_workload = "OLTP"
82+
license_model = "LICENSE_INCLUDED"
83+
is_free_tier = "false"
84+
}
85+
7286
resource "oci_database_autonomous_database" "test_autonomous_database_apex" {
7387
admin_password = random_string.autonomous_database_admin_password.result
7488
compartment_id = var.compartment_ocid
@@ -81,6 +95,19 @@ resource "oci_database_autonomous_database" "test_autonomous_database_apex" {
8195
is_free_tier = "false"
8296
}
8397

98+
resource "oci_database_autonomous_database" "test_autonomous_database_bck_ret_days" {
99+
admin_password = random_string.autonomous_database_admin_password.result
100+
compartment_id = var.compartment_ocid
101+
cpu_core_count = "1"
102+
data_storage_size_in_tbs = "1"
103+
backup_retention_period_in_days = "15"
104+
db_name = "adbBckRetDays"
105+
db_version = "19c"
106+
db_workload = "AJD"
107+
license_model = "LICENSE_INCLUDED"
108+
is_free_tier = "false"
109+
}
110+
84111
resource "oci_database_autonomous_database" "test_autonomous_database_actions" {
85112
admin_password = random_string.autonomous_database_admin_password.result
86113
compartment_id = var.compartment_ocid

examples/databasemigration/migration/migration.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ resource "oci_database_migration_migration" "test_migration" {
240240
type = "TABLESPACE"
241241
}
242242
}
243+
exclude_objects {
244+
object = ".*"
245+
owner = "owner"
246+
is_omit_excluded_table_from_replication = "false"
247+
type = "ALL"
248+
}
243249
golden_gate_details {
244250
hub {
245251
rest_admin_credentials {
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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 "account_mgmt_info_account_mgmt_info_count" {
5+
default = 10
6+
}
7+
8+
variable "account_mgmt_info_account_mgmt_info_filter" {
9+
default = ""
10+
}
11+
12+
variable "account_mgmt_info_attribute_sets" {
13+
default = ["all"]
14+
}
15+
16+
variable "account_mgmt_info_attributes" {
17+
default = "attributes"
18+
}
19+
20+
variable "account_mgmt_info_authorization" {
21+
default = "authorization"
22+
}
23+
24+
variable "account_mgmt_info_idcs_endpoint" {
25+
default = "idcsEndpoint"
26+
}
27+
28+
# use the latest if not provided
29+
variable "account_mgmt_info_resource_type_schema_version" {
30+
default = "resourceTypeSchemaVersion"
31+
}
32+
33+
variable "account_mgmt_info_start_index" {
34+
default = 10
35+
}
36+
37+
data "oci_identity_domains_account_mgmt_infos" "test_account_mgmt_infos" {
38+
#Required
39+
idcs_endpoint = data.oci_identity_domain.test_domain.url
40+
41+
#Optional
42+
account_mgmt_info_count = var.account_mgmt_info_account_mgmt_info_count
43+
account_mgmt_info_filter = var.account_mgmt_info_account_mgmt_info_filter
44+
attribute_sets = ["all"]
45+
attributes = ""
46+
authorization = var.account_mgmt_info_authorization
47+
# resource_type_schema_version = var.account_mgmt_info_resource_type_schema_version
48+
start_index = var.account_mgmt_info_start_index
49+
}
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
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 "account_recovery_setting_attribute_sets" {
5+
default = ["all"]
6+
}
7+
8+
variable "account_recovery_setting_attributes" {
9+
default = ""
10+
}
11+
12+
variable "account_recovery_setting_authorization" {
13+
default = "authorization"
14+
}
15+
16+
variable "account_recovery_setting_compartment_ocid" {
17+
default = "compartmentOcid"
18+
}
19+
20+
variable "account_recovery_setting_delete_in_progress" {
21+
default = false
22+
}
23+
24+
variable "account_recovery_setting_domain_ocid" {
25+
default = "domainOcid"
26+
}
27+
28+
variable "account_recovery_setting_factors" {
29+
default = ["email"]
30+
}
31+
32+
variable "account_recovery_setting_id" {
33+
default = "AccountRecoverySettings"
34+
}
35+
36+
variable "account_recovery_setting_idcs_created_by_display" {
37+
default = "display"
38+
}
39+
40+
variable "account_recovery_setting_idcs_created_by_ocid" {
41+
default = "ocid"
42+
}
43+
44+
variable "account_recovery_setting_idcs_created_by_ref" {
45+
default = "ref"
46+
}
47+
48+
variable "account_recovery_setting_idcs_created_by_type" {
49+
default = "User"
50+
}
51+
52+
variable "account_recovery_setting_idcs_created_by_value" {
53+
default = "value"
54+
}
55+
56+
variable "account_recovery_setting_idcs_endpoint" {
57+
default = "idcsEndpoint"
58+
}
59+
60+
variable "account_recovery_setting_idcs_last_modified_by_display" {
61+
default = "display"
62+
}
63+
64+
variable "account_recovery_setting_idcs_last_modified_by_ocid" {
65+
default = "ocid"
66+
}
67+
68+
variable "account_recovery_setting_idcs_last_modified_by_ref" {
69+
default = "ref"
70+
}
71+
72+
variable "account_recovery_setting_idcs_last_modified_by_type" {
73+
default = "User"
74+
}
75+
76+
variable "account_recovery_setting_idcs_last_modified_by_value" {
77+
default = "value"
78+
}
79+
80+
variable "account_recovery_setting_idcs_last_upgraded_in_release" {
81+
default = "idcsLastUpgradedInRelease"
82+
}
83+
84+
variable "account_recovery_setting_idcs_prevented_operations" {
85+
default = []
86+
}
87+
88+
variable "account_recovery_setting_lockout_duration" {
89+
default = 10
90+
}
91+
92+
variable "account_recovery_setting_max_incorrect_attempts" {
93+
default = 10
94+
}
95+
96+
variable "account_recovery_setting_meta_created" {
97+
default = "created"
98+
}
99+
100+
variable "account_recovery_setting_meta_last_modified" {
101+
default = "lastModified"
102+
}
103+
104+
variable "account_recovery_setting_meta_location" {
105+
default = "location"
106+
}
107+
108+
variable "account_recovery_setting_meta_resource_type" {
109+
default = "resourceType"
110+
}
111+
112+
variable "account_recovery_setting_meta_version" {
113+
default = "version"
114+
}
115+
116+
# use the latest if not provided
117+
variable "account_recovery_setting_resource_type_schema_version" {
118+
default = "resourceTypeSchemaVersion"
119+
}
120+
121+
variable "account_recovery_setting_schemas" {
122+
default = ["urn:ietf:params:scim:schemas:oracle:idcs:AccountRecoverySettings"]
123+
}
124+
125+
variable "account_recovery_setting_tags_key" {
126+
default = "key"
127+
}
128+
129+
variable "account_recovery_setting_tags_value" {
130+
default = "value"
131+
}
132+
133+
variable "account_recovery_setting_tenancy_ocid" {
134+
default = "tenancyOcid"
135+
}
136+
137+
138+
resource "oci_identity_domains_account_recovery_setting" "test_account_recovery_setting" {
139+
#Required
140+
account_recovery_setting_id = var.account_recovery_setting_id
141+
factors = var.account_recovery_setting_factors
142+
idcs_endpoint = data.oci_identity_domain.test_domain.url
143+
144+
lockout_duration = var.account_recovery_setting_lockout_duration
145+
max_incorrect_attempts = var.account_recovery_setting_max_incorrect_attempts
146+
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:AccountRecoverySettings"]
147+
148+
#Optional
149+
attribute_sets = ["all"]
150+
attributes = ""
151+
authorization = var.account_recovery_setting_authorization
152+
external_id = "externalId"
153+
# resource_type_schema_version = var.account_recovery_setting_resource_type_schema_version
154+
tags {
155+
#Required
156+
key = var.account_recovery_setting_tags_key
157+
value = var.account_recovery_setting_tags_value
158+
}
159+
}
160+
161+
data "oci_identity_domains_account_recovery_settings" "test_account_recovery_settings" {
162+
#Required
163+
idcs_endpoint = data.oci_identity_domain.test_domain.url
164+
165+
#Optional
166+
attribute_sets = ["all"]
167+
attributes = ""
168+
authorization = var.account_recovery_setting_authorization
169+
# resource_type_schema_version = var.account_recovery_setting_resource_type_schema_version
170+
}

0 commit comments

Comments
 (0)