Skip to content

Commit 7cac9d9

Browse files
authored
Merge pull request #2153 from oracle/release_gh
Releasing version 6.2.0
2 parents 41ab0c3 + 5f2ac33 commit 7cac9d9

File tree

153 files changed

+626
-125
lines changed

Some content is hidden

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

153 files changed

+626
-125
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions

examples/databasemigration/migration/migration.tf

Lines changed: 105 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@ data "oci_database_migration_job" "test_job" {
103103
job_id = var.jobId
104104
}
105105

106-
data "oci_database_migration_agent" "test_agent" {
107-
agent_id = "agentId"
108-
}
109106

107+
108+
variable "migration_id" {
109+
default = ""
110+
}
110111
data "oci_database_migration_migrations" "test_migrations" {
111112
#Required
112-
compartment_id = var.compartment_id
113+
migration_id = var.migration_id
113114
}
114115

115116
data "oci_database_migration_job_advisor_report" "test_job_advisor_report" {
@@ -123,8 +124,43 @@ data "oci_database_migration_job_output" "test_job_output" {
123124
data "oci_database_migration_migration_object_types" "test_migration_object_types" {
124125
connection_type = "MYSQL"
125126
}
127+
variable "connection_string" {
128+
default = ""
129+
}
130+
variable "nsg_ids" {
131+
default = ""
132+
}
133+
resource "oci_database_migration_connection" "test_connection_rds_source" {
134+
compartment_id = var.compartment_id
135+
display_name = "TF_display_test_rds_source"
136+
connection_type = "ORACLE"
137+
key_id = var.kms_key_id
138+
vault_id = var.kms_vault_id
139+
connection_string = var.connection_string
140+
password = "BEstrO0ng_#11"
141+
technology_type = "AMAZON_RDS_ORACLE"
142+
username = "ggfe"
143+
nsg_ids = var.nsg_ids
144+
replication_password="replicationPassword"
145+
replication_username="replicationUsername"
146+
}
126147

127-
data "oci_database_migration_agent_images" "test_agent_images" {}
148+
variable "database_autonomous_id" {
149+
default = ""
150+
}
151+
resource "oci_database_migration_connection" "test_connection_rds_target" {
152+
compartment_id = var.compartment_id
153+
display_name = "TF_display_test_rds_target"
154+
connection_type = "ORACLE"
155+
key_id = var.kms_key_id
156+
vault_id = var.kms_vault_id
157+
database_id = var.database_autonomous_id
158+
password = "BEstrO0ng_#11"
159+
technology_type = "OCI_AUTONOMOUS_DATABASE"
160+
username = "ggfe"
161+
replication_password="replicationPassword"
162+
replication_username="replicationUsername"
163+
}
128164

129165
resource "oci_database_migration_connection" "test_connection_target" {
130166
compartment_id = var.compartment_id
@@ -200,6 +236,70 @@ resource "oci_database_migration_migration" "test_migration" {
200236
display_name = "displayName"
201237
}
202238

239+
resource "oci_database_migration_migration" "test_offline_migration" {
240+
compartment_id = var.compartment_id
241+
database_combination = "MYSQL"
242+
source_database_connection_id = var.source_connection_mysql_id
243+
target_database_connection_id = var.target_connection_mysql_id
244+
type = "OFFLINE"
245+
display_name = "displayName"
246+
}
247+
248+
variable "source_connection_oracle_id" {
249+
default = ""
250+
}
251+
variable "source_connection_container_oracle_id" {
252+
default = ""
253+
}
254+
variable "target_connection_oracle_id" {
255+
default = ""
256+
}
257+
variable "bucket_oracle_id" {
258+
default = ""
259+
}
260+
resource "oci_database_migration_migration" "test_oracle_migration" {
261+
compartment_id = var.compartment_id
262+
database_combination = "ORACLE"
263+
source_database_connection_id = var.source_connection_oracle_id
264+
source_container_database_connection_id = var.source_connection_container_oracle_id
265+
target_database_connection_id = var.target_connection_oracle_id
266+
advanced_parameters {
267+
data_type = "STRING"
268+
name = "DATAPUMPSETTINGS_METADATAONLY"
269+
value = "True"
270+
}
271+
data_transfer_medium_details {
272+
type = "OBJECT_STORAGE"
273+
object_storage_bucket {
274+
bucket = var.bucket_oracle_id
275+
namespace = "namespace"
276+
}
277+
}
278+
type = "ONLINE"
279+
display_name = "displayName"
280+
}
281+
282+
resource "oci_database_migration_migration" "test_oracle_rds_migration" {
283+
compartment_id = var.compartment_id
284+
database_combination = "ORACLE"
285+
source_database_connection_id = oci_database_migration_connection.test_connection_rds_source.id
286+
target_database_connection_id = oci_database_migration_connection.test_connection_rds_target.id
287+
288+
data_transfer_medium_details {
289+
type = "AWS_S3"
290+
name = "rdsbucket"
291+
region = "us-east-1"
292+
secret_access_key = "12345/12345"
293+
access_key_id = "12345"
294+
object_storage_bucket {
295+
bucket = var.bucket_oracle_id
296+
namespace = "namespace"
297+
}
298+
}
299+
type = "ONLINE"
300+
display_name = "displayName"
301+
}
302+
203303
output "password" {
204304
sensitive = true
205305
value = random_string.autonomous_database_admin_password.result

examples/metering_computation/usage/main.tf

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,12 @@
55
variable "tenancy_ocid" {
66
}
77

8-
variable "user_ocid" {
9-
}
10-
11-
variable "fingerprint" {
12-
}
13-
14-
variable "private_key_path" {
15-
}
16-
17-
variable "compartment_ocid" {
18-
}
19-
208
variable "region" {
219
}
2210

2311
provider "oci" {
24-
region = var.region
25-
tenancy_ocid = var.tenancy_ocid
26-
user_ocid = var.user_ocid
27-
fingerprint = var.fingerprint
28-
private_key_path = var.private_key_path
12+
auth = "SecurityToken"
13+
config_file_profile = "terraform-federation-test"
2914
}
3015

3116
variable "time_usage_ended" {

examples/zips/adm.zip

0 Bytes
Binary file not shown.

examples/zips/aiAnomalyDetection.zip

0 Bytes
Binary file not shown.

examples/zips/aiDocument.zip

0 Bytes
Binary file not shown.

examples/zips/aiLanguage.zip

0 Bytes
Binary file not shown.

examples/zips/aiVision.zip

0 Bytes
Binary file not shown.

examples/zips/always_free.zip

0 Bytes
Binary file not shown.

examples/zips/analytics.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)