Skip to content

Commit 52439af

Browse files
Releasing version 5.24.0
Releasing version 5.24.0
2 parents 7f5a3fd + 92383e0 commit 52439af

File tree

16,870 files changed

+27298
-17901
lines changed

Some content is hidden

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

16,870 files changed

+27298
-17901
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 5.24.0 (January 10, 2024)
2+
3+
### Added
4+
- Support for GoldenGate : Stream Analytics
5+
- Support for APM - Synthetics - Support for On Premise Vantage Point
6+
support to update config id for a psql dbSystem
7+
### Deprecation
8+
- Deprecate backup_policy_id field for oci_core_volume_group
9+
### Bug Fix
10+
- database_management_status and operations_insights_status both not enabled together.
11+
- Support for New Compute Shapes (VM.DenseIO.E4.Flex)
12+
113
## 5.23.0 (December 12, 2023)
214

315
### Added
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
11+
variable "apm_domain_description" {
12+
default = "description"
13+
}
14+
15+
variable "apm_domain_display_name" {
16+
default = "displayName"
17+
}
18+
19+
variable "apm_domain_freeform_tags" {
20+
default = { "Department" = "Finance" }
21+
}
22+
23+
variable "apm_domain_is_free_tier" {
24+
default = false
25+
}
26+
27+
variable "apm_domain_state" {
28+
default = "ACTIVE"
29+
}
30+
31+
variable "data_key_data_key_type" {
32+
default = "PRIVATE"
33+
}
34+
35+
provider "oci" {
36+
tenancy_ocid = var.tenancy_ocid
37+
user_ocid = var.user_ocid
38+
fingerprint = var.fingerprint
39+
private_key_path = var.private_key_path
40+
region = var.region
41+
}
42+
43+
44+
variable "on_premise_vantage_point_display_name" {
45+
default = "displayName"
46+
}
47+
48+
variable "on_premise_vantage_point_name" {
49+
default = "OPVP-name"
50+
}
51+
52+
53+
resource "oci_apm_apm_domain" "test_apm_domain" {
54+
#Required
55+
compartment_id = var.compartment_ocid
56+
display_name = var.apm_domain_display_name
57+
58+
#Optional
59+
description = var.apm_domain_description
60+
freeform_tags = var.apm_domain_freeform_tags
61+
is_free_tier = var.apm_domain_is_free_tier
62+
}
63+
64+
resource "oci_apm_synthetics_on_premise_vantage_point" "test_on_premise_vantage_point" {
65+
#Required
66+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
67+
name = var.on_premise_vantage_point_name
68+
}
69+
70+
71+
data "oci_apm_synthetics_on_premise_vantage_points" "test_on_premise_vantage_points" {
72+
#Required
73+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
74+
75+
#Optional
76+
name = var.on_premise_vantage_point_name
77+
}
78+
79+
variable "on_premise_vantage_point_worker_name" {
80+
default = "worker"
81+
}
82+
83+
variable "on_premise_vantage_point_worker_version" {
84+
default = "1.2.4"
85+
}
86+
87+
variable "on_premise_vantage_point_worker_resource_principal_token_public_key" {
88+
default = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0GuJMVpuYE3l2pAe4mwrB73pExN42hG5OkbiJimrSbSHBffng6NacHz4hX8Ri9WhuQSq51nXsGjixnVvjnI3RzgenAaLVrf48a8RmS5D0pwrjshkf5Vt/hSXYL2lVUToGTUdOzXb5ZAH6BN9SE+LPEeBl6QnXn90teMXeVPnarg9WE1LMf8eNoD3PRaXEa9i3Q0Q2/3cfXVX1MhHk5wi/fUKsnbTjy67a49vvC3DKbakw76q4lrdtvp7M5EKN+paD0qg64wRKn8/bCYvI/tjM+LufvSLJJSj7KQs83t5xKBK60FVRUK/d3bRdilb8XnezBSGSdPDY9fL6yn0z8UORQIDAQAB\n-----END PUBLIC KEY-----"
89+
}
90+
91+
92+
resource "oci_apm_synthetics_on_premise_vantage_point_worker" "test_on_premise_vantage_point_worker" {
93+
#Required
94+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
95+
on_premise_vantage_point_id = oci_apm_synthetics_on_premise_vantage_point.test_on_premise_vantage_point.id
96+
name = var.on_premise_vantage_point_worker_name
97+
version = var.on_premise_vantage_point_worker_version
98+
resource_principal_token_public_key = var.on_premise_vantage_point_worker_resource_principal_token_public_key
99+
}
100+
101+
data "oci_apm_synthetics_on_premise_vantage_point_workers" "test_on_premise_vantage_point_workers" {
102+
#Required
103+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
104+
on_premise_vantage_point_id = oci_apm_synthetics_on_premise_vantage_point.test_on_premise_vantage_point.id
105+
name = var.on_premise_vantage_point_name
106+
107+
#Optional
108+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
11+
variable "apm_domain_description" {
12+
default = "description"
13+
}
14+
15+
variable "apm_domain_display_name" {
16+
default = "displayName"
17+
}
18+
19+
variable "apm_domain_freeform_tags" {
20+
default = { "Department" = "Finance" }
21+
}
22+
23+
variable "apm_domain_is_free_tier" {
24+
default = false
25+
}
26+
27+
variable "apm_domain_state" {
28+
default = "ACTIVE"
29+
}
30+
31+
variable "data_key_data_key_type" {
32+
default = "PRIVATE"
33+
}
34+
35+
provider "oci" {
36+
tenancy_ocid = var.tenancy_ocid
37+
user_ocid = var.user_ocid
38+
fingerprint = var.fingerprint
39+
private_key_path = var.private_key_path
40+
region = var.region
41+
}
42+
43+
44+
45+
resource "oci_apm_apm_domain" "test_apm_domain" {
46+
#Required
47+
compartment_id = var.compartment_ocid
48+
display_name = var.apm_domain_display_name
49+
50+
#Optional
51+
description = var.apm_domain_description
52+
freeform_tags = var.apm_domain_freeform_tags
53+
is_free_tier = var.apm_domain_is_free_tier
54+
}
55+
56+
57+
variable "on_premise_vantage_point_display_name" {
58+
default = "displayName"
59+
}
60+
61+
variable "on_premise_vantage_point_name" {
62+
default = "OPVP-name"
63+
}
64+
65+
66+
resource "oci_apm_synthetics_on_premise_vantage_point" "test_on_premise_vantage_point" {
67+
#Required
68+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
69+
name = var.on_premise_vantage_point_name
70+
}
71+
72+
73+
data "oci_apm_synthetics_on_premise_vantage_points" "test_on_premise_vantage_points" {
74+
#Required
75+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
76+
77+
#Optional
78+
name = var.on_premise_vantage_point_name
79+
}
80+

examples/big_data_service/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ variable "bds_instance_nodes_shape" {
8383
}
8484

8585
variable "bds_instance_worker_node_shape" {
86-
default = "VM.Standard2.4"
86+
default = "VM.DenseIO.E4.Flex"
8787
}
8888

8989
variable "bds_instance_compute_only_worker_node_shape" {
@@ -229,8 +229,12 @@ resource "oci_bds_bds_instance" "test_bds_instance" {
229229
shape = var.bds_instance_worker_node_shape
230230

231231
subnet_id = var.subnet_id
232-
block_volume_size_in_gbs = var.bds_instance_worker_nodes_block_volume_size_in_gbs
233232
number_of_nodes = 4
233+
shape_config {
234+
memory_in_gbs = 128
235+
ocpus = 8
236+
nvmes = 1
237+
}
234238
}
235239

236240
edge_node {

examples/database/adb/autonomous_database.tf

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,27 @@ resource "oci_database_autonomous_database" "test_autonomous_database" {
5757
autonomous_maintenance_schedule_type = var.autonomous_database_autonomous_maintenance_schedule_type
5858
}
5959

60+
61+
62+
resource "oci_database_autonomous_database" "test_autonomous_database1" {
63+
admin_password = random_string.autonomous_database_admin_password.result
64+
compartment_id = var.compartment_ocid
65+
cpu_core_count = "1"
66+
data_storage_size_in_tbs = "1"
67+
db_name = "adbdb15f"
68+
db_version = "19c"
69+
db_workload = "OLTP"
70+
license_model = "BRING_YOUR_OWN_LICENSE"
71+
is_free_tier = "false"
72+
autonomous_maintenance_schedule_type = var.autonomous_database_autonomous_maintenance_schedule_type
73+
open_mode = "READ_ONLY"
74+
permission_level = "RESTRICTED"
75+
data_safe_status = "REGISTERED"
76+
database_edition = "STANDARD_EDITION"
77+
operations_insights_status = "ENABLED"
78+
database_management_status = "ENABLED"
79+
}
80+
6081
resource "oci_database_autonomous_database" "test_autonomous_database_ecpu" {
6182
admin_password = random_string.autonomous_database_admin_password.result
6283
compartment_id = var.compartment_ocid
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
3+
# Vars provided when configuring tf for oci
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+
provider "oci" {
23+
tenancy_ocid = var.tenancy_ocid
24+
user_ocid = var.user_ocid
25+
fingerprint = var.fingerprint
26+
private_key_path = var.private_key_path
27+
region = var.region
28+
}
29+
30+
# Creating a private subnet to used to access the dbSystem
31+
resource "oci_core_subnet" "test_subnet" {
32+
cidr_block = "10.0.0.0/24"
33+
compartment_id = var.compartment_ocid
34+
vcn_id = oci_core_vcn.test_vcn.id
35+
prohibit_public_ip_on_vnic = true
36+
}
37+
38+
# Creating a VCN for the private subnet
39+
resource "oci_core_vcn" "test_vcn" {
40+
cidr_block = "10.0.0.0/16"
41+
compartment_id = var.compartment_ocid
42+
}
43+
44+
# Creating DbSystem Backup
45+
resource "oci_psql_backup" "test_backup" {
46+
db_system_id = oci_psql_db_system.test_db_system.id
47+
compartment_id = var.compartment_ocid
48+
display_name = "tf-test-dbSystem-backup"
49+
}
50+
51+
# Creating DbSystem
52+
resource "oci_psql_db_system" "test_db_system" {
53+
#Required
54+
db_version = "14"
55+
display_name = "tf-test-dbSystem"
56+
network_details {
57+
subnet_id = oci_core_subnet.test_subnet.id
58+
}
59+
shape = "PostgreSQL.VM.Standard.E4.Flex.2.32GB"
60+
storage_details {
61+
is_regionally_durable = true
62+
system_type = "OCI_OPTIMIZED_STORAGE"
63+
}
64+
credentials {
65+
username = "adminUser"
66+
password_details {
67+
password_type = "PLAIN_TEXT"
68+
password = "BEstrO0ng_#11"
69+
}
70+
}
71+
compartment_id = var.compartment_ocid
72+
instance_count = "1"
73+
system_type = "OCI_OPTIMIZED_STORAGE"
74+
75+
# Specify patch operations after creating the dbSystem resource and update instance_count with it
76+
## Add Replica
77+
patch_operations {
78+
operation = "INSERT"
79+
selection = "instances"
80+
value {
81+
displayName = "my-db-instance"
82+
description = "my description"
83+
}
84+
}
85+
86+
## Remove Replica
87+
patch_operations {
88+
operation = "REMOVE"
89+
selection = "instancesinstances[?id == '${var.db_instance_id}']"
90+
}
91+
}

0 commit comments

Comments
 (0)