Skip to content

Commit fbc2100

Browse files
authored
Releasing version 4.106.0
2 parents f83fbe0 + e704106 commit fbc2100

File tree

280 files changed

+5897
-295
lines changed

Some content is hidden

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

280 files changed

+5897
-295
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions

examples/database/atp-d/exadata.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ resource "oci_database_cloud_autonomous_vm_cluster" "test_cloud_autonomous_vm_cl
7575
memory_per_oracle_compute_unit_in_gbs = 27
7676
cpu_core_count_per_node = 50
7777
total_container_databases = 12
78+
compute_model = "ECPU"
7879
}
7980

8081
resource "oci_core_network_security_group" "test_network_security_group" {

examples/database/atp-d/main.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ resource "oci_database_autonomous_database" "test_autonomous_database" {
6767
#Required
6868
admin_password = random_string.autonomous_database_admin_password.result
6969
compartment_id = var.compartment_ocid
70-
cpu_core_count = "1"
70+
compute_count = "1"
7171
data_storage_size_in_tbs = "1"
7272
db_name = "atpdb1"
7373

@@ -77,14 +77,15 @@ resource "oci_database_autonomous_database" "test_autonomous_database" {
7777
display_name = "example_autonomous_database-007"
7878
freeform_tags = var.autonomous_database_freeform_tags
7979
is_dedicated = "true"
80-
rotate_key_trigger = "true"
80+
rotate_key_trigger = "true"
81+
compute_model = "ECPU"
8182
}
8283

8384
resource "oci_database_autonomous_database" "test_autonomous_database_character_set_support" {
8485
#Required
8586
admin_password = random_string.autonomous_database_admin_password.result
8687
compartment_id = var.compartment_ocid
87-
cpu_core_count = "1"
88+
compute_count = "1"
8889
data_storage_size_in_tbs = "1"
8990
db_name = "atpdb2"
9091

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
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 "compartment_ocid" {
17+
}
18+
19+
variable "region" {
20+
}
21+
22+
variable "encoded_content" {
23+
}
24+
25+
provider "oci" {
26+
region = var.region
27+
tenancy_ocid = var.tenancy_ocid
28+
user_ocid = var.user_ocid
29+
fingerprint = var.fingerprint
30+
private_key_path = var.private_key_path
31+
}
32+
33+
resource "random_string" "topicname" {
34+
length = 10
35+
special = false
36+
}
37+
38+
resource "random_string" "projectname" {
39+
length = 10
40+
special = false
41+
}
42+
43+
resource "oci_ons_notification_topic" "test_notification_topic" {
44+
#Required
45+
compartment_id = var.compartment_ocid
46+
name = join("", ["T", random_string.topicname.result])
47+
}
48+
49+
resource "oci_devops_project" "test_project" {
50+
#Required
51+
compartment_id = var.compartment_ocid
52+
name = join("", ["A", random_string.projectname.result])
53+
notification_config {
54+
#Required
55+
topic_id = oci_ons_notification_topic.test_notification_topic.id
56+
}
57+
}
58+
59+
resource "oci_devops_deploy_artifact" "test_deploy_command_spec_artifact" {
60+
project_id = oci_devops_project.test_project.id
61+
display_name = "Display_name"
62+
deploy_artifact_type = "COMMAND_SPEC"
63+
argument_substitution_mode = "NONE"
64+
deploy_artifact_source {
65+
deploy_artifact_source_type = "INLINE"
66+
base64encoded_content = var.encoded_content
67+
}
68+
}
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
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 "compartment_ocid" {
17+
}
18+
19+
variable "region" {
20+
}
21+
22+
provider "oci" {
23+
region = var.region
24+
tenancy_ocid = var.tenancy_ocid
25+
user_ocid = var.user_ocid
26+
fingerprint = var.fingerprint
27+
private_key_path = var.private_key_path
28+
}
29+
30+
resource "random_string" "topicname" {
31+
length = 10
32+
special = false
33+
}
34+
35+
resource "random_string" "projectname" {
36+
length = 10
37+
special = false
38+
}
39+
40+
resource "oci_ons_notification_topic" "test_notification_topic" {
41+
#Required
42+
compartment_id = var.compartment_ocid
43+
name = join("", ["T", random_string.topicname.result])
44+
}
45+
46+
resource "oci_devops_project" "test_project" {
47+
#Required
48+
compartment_id = var.compartment_ocid
49+
name = join("", ["A", random_string.projectname.result])
50+
notification_config {
51+
#Required
52+
topic_id = oci_ons_notification_topic.test_notification_topic.id
53+
}
54+
}
55+
56+
resource "oci_devops_deploy_pipeline" "test_deploy_pipeline" {
57+
#Required
58+
project_id = oci_devops_project.test_project.id
59+
60+
description = "description"
61+
display_name = "displayName"
62+
}
63+
64+
resource "oci_devops_deploy_artifact" "test_deploy_command_spec_artifact" {
65+
project_id = oci_devops_project.test_project.id
66+
display_name = "Display_name"
67+
deploy_artifact_type = "COMMAND_SPEC"
68+
argument_substitution_mode = "NONE"
69+
deploy_artifact_source {
70+
deploy_artifact_source_type = "INLINE"
71+
base64encoded_content = "YXBpVmVyc2lvbjogYmF0Y2gvdjEKa2luZDogSm9iCm1ldGFkYXRhOgogIGdlbmVyYXRlTmFtZTogaGVsbG93b3JsZAogIGxhYmVsczoKICAgIGFwcDogaGVsbG93b3JsZApzcGVjOgogIHR0bFNlY29uZHNBZnRlckZpbmlzaGVkOiAxMjAKICB0ZW1wbGF0ZToKICAgIHNwZWM6CiAgICAgIGNvbnRhaW5lcnM6CiAgICAgICAgLSBuYW1lOiBoZWxsb3dvcmxkCiAgICAgICAgICBpbWFnZTogcGh4Lm9jaXIuaW8vYXgwMjJ3dmdtanBxL2hlbGxvd29ybGQtb2tlLXZlcmlmaWVyOmxhdGVzdAogICAgICAgICAgY29tbWFuZDoKICAgICAgICAgICAgLSAiL2Jpbi9iYXNoIgogICAgICAgICAgICAtICItYyIKICAgICAgICAgICAgLSAic2xlZXAgMjsgZWNobyBIZWxsbyBXb3JsZDsiCiAgICAgIHJlc3RhcnRQb2xpY3k6IE5ldmVy"
72+
}
73+
}
74+
75+
data "oci_identity_availability_domain" "devops_ad" {
76+
compartment_id = var.tenancy_ocid
77+
ad_number = 1
78+
}
79+
80+
resource "oci_core_subnet" "test_subnet" {
81+
availability_domain = lower(data.oci_identity_availability_domain.devops_ad.name)
82+
cidr_block = "10.0.0.0/24"
83+
compartment_id = var.compartment_ocid
84+
//defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "value")}"
85+
dhcp_options_id = oci_core_vcn.test_vcn.default_dhcp_options_id
86+
display_name = "MySubnet"
87+
dns_label = "dnslabel"
88+
freeform_tags = {
89+
"Department" = "Finance"
90+
}
91+
lifecycle {
92+
ignore_changes = [
93+
defined_tags]
94+
}
95+
prohibit_internet_ingress = "false"
96+
prohibit_public_ip_on_vnic = "false"
97+
route_table_id = oci_core_vcn.test_vcn.default_route_table_id
98+
security_list_ids = [
99+
oci_core_vcn.test_vcn.default_security_list_id]
100+
vcn_id = oci_core_vcn.test_vcn.id
101+
}
102+
103+
resource "oci_core_vcn" "test_vcn" {
104+
cidr_block = "10.0.0.0/16"
105+
compartment_id = var.compartment_ocid
106+
//defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "value")}"
107+
display_name = "displayName"
108+
dns_label = "dnslabel"
109+
freeform_tags = {
110+
"Department" = "Finance"
111+
}
112+
lifecycle {
113+
ignore_changes = [
114+
defined_tags]
115+
}
116+
}
117+
118+
resource "oci_devops_deploy_stage" "test_shell_deploy_stage" {
119+
#Required
120+
deploy_pipeline_id = oci_devops_deploy_pipeline.test_deploy_pipeline.id
121+
deploy_stage_predecessor_collection {
122+
#Required
123+
items {
124+
#Required
125+
id = oci_devops_deploy_pipeline.test_deploy_pipeline.id
126+
}
127+
}
128+
deploy_stage_type = "SHELL"
129+
command_spec_deploy_artifact_id = oci_devops_deploy_artifact.test_deploy_command_spec_artifact.id
130+
timeout_in_seconds = 36000
131+
container_config {
132+
container_config_type = "CONTAINER_INSTANCE_CONFIG"
133+
shape_name = "CI.Standard.E4.Flex"
134+
compartment_id = var.compartment_ocid
135+
availability_domain = data.oci_identity_availability_domain.devops_ad.name
136+
shape_config {
137+
ocpus = 1.0
138+
memory_in_gbs = 2.0
139+
}
140+
network_channel {
141+
network_channel_type = "SERVICE_VNIC_CHANNEL"
142+
subnet_id = oci_core_subnet.test_subnet.id
143+
nsg_ids = []
144+
}
145+
}
146+
}

examples/opensearch/opensearch_cluster/main.tf

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "opensearch_cluster_data_node_host_bare_metal_shape" {
2828
}
2929

3030
variable "opensearch_cluster_data_node_host_memory_gb" {
31-
default = 10
31+
default = 20
3232
}
3333

3434
variable "opensearch_cluster_data_node_host_ocpu_count" {
@@ -99,7 +99,13 @@ variable "opensearch_cluster_system_tags" {
9999
default = { }
100100
}
101101

102+
variable "security_mode" {
103+
default = "ENFORCING"
104+
}
105+
106+
variable "security_master_user_name" {}
102107

108+
variable "security_master_user_password_hash" {}
103109

104110
provider "oci" {
105111
tenancy_ocid = var.tenancy_ocid
@@ -137,13 +143,17 @@ resource "oci_opensearch_opensearch_cluster" "test_opensearch_cluster" {
137143
freeform_tags = var.opensearch_cluster_freeform_tags
138144
master_node_host_bare_metal_shape = var.opensearch_cluster_master_node_host_bare_metal_shape
139145
# system_tags = var.opensearch_cluster_system_tags
146+
security_mode = var.security_mode
147+
security_master_user_name = var.security_master_user_name
148+
security_master_user_password_hash = var.security_master_user_password_hash
140149
}
141150

142151
data "oci_opensearch_opensearch_clusters" "test_opensearch_clusters" {
152+
143153
#Required
144154
compartment_id = var.compartment_id
145155
#Optional
146-
# display_name = var.opensearch_cluster_display_name
156+
display_name = var.opensearch_cluster_display_name
147157
# id = var.opensearch_cluster_id
148158
# state = var.opensearch_cluster_state
149159
}

examples/zips/adm.zip

0 Bytes
Binary file not shown.

examples/zips/aiAnomalyDetection.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.

0 commit comments

Comments
 (0)