Skip to content

Commit 53abb1f

Browse files
authored
Merge pull request #2138 from oracle/release_gh
Releasing version 5.46.0
2 parents ceb466d + beb3451 commit 53abb1f

File tree

193 files changed

+2515
-211
lines changed

Some content is hidden

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

193 files changed

+2515
-211
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions

examples/container_engine/main.tf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ variable defined_tag_namespace_name {
7070

7171
provider "oci" {
7272
region = var.region
73-
tenancy_ocid = var.tenancy_ocid
74-
user_ocid = var.user_ocid
75-
fingerprint = var.fingerprint
76-
private_key_path = var.private_key_path
73+
auth = "SecurityToken"
74+
config_file_profile = "terraform-federation-test"
7775
}
7876

7977
resource "oci_identity_tag_namespace" "tag-namespace1" {
@@ -111,7 +109,7 @@ data "oci_kms_vault" "test_vault" {
111109

112110
data "oci_kms_keys" "test_keys_dependency_RSA" {
113111
#Required
114-
compartment_id = var.tenancy_ocid
112+
compartment_id = var.compartment_ocid
115113
management_endpoint = data.oci_kms_vault.test_vault.management_endpoint
116114
algorithm = "RSA"
117115

@@ -284,8 +282,8 @@ resource "oci_containerengine_node_pool" "test_flex_shape_node_pool" {
284282
compartment_id = var.compartment_ocid
285283
kubernetes_version = reverse(data.oci_containerengine_cluster_option.test_cluster_option.kubernetes_versions)[0]
286284
name = "flexShapePool"
287-
node_shape = "VM.Standard.E3.Flex"
288-
subnet_ids = [oci_core_subnet.nodePool_Subnet_1.id, oci_core_subnet.nodePool_Subnet_2.id]
285+
node_shape = "VM.Standard.E4.Flex"
286+
subnet_ids = [oci_core_subnet.nodePool_Subnet_1.id]
289287

290288
node_source_details {
291289
#Required
@@ -344,6 +342,7 @@ data "oci_containerengine_cluster_option" "test_cluster_option" {
344342

345343
data "oci_containerengine_node_pool_option" "test_node_pool_option" {
346344
node_pool_option_id = "all"
345+
compartment_id = var.compartment_ocid
347346
}
348347

349348
data "oci_core_images" "shape_specific_images" {

examples/container_engine/regional_subnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ variable "node_pool_node_shape" {
4646
}
4747

4848
variable "node_pool_quantity_per_subnet" {
49-
default = 2
49+
default = 1
5050
}
5151

5252
variable "node_pool_ssh_public_key" {

examples/monitoring/alarms/alarms.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ variable "region" {
1919
variable "compartment_id" {
2020
}
2121

22+
variable "alarm_summary" {
23+
default = "test summary with severity = {{severity}} and query = {{{query}}}"
24+
}
25+
2226
variable "alarm_body" {
2327
default = "High CPU utilization reached"
2428
}
@@ -39,6 +43,10 @@ variable "alarm_display_name" {
3943
default = "High CPU Utilization"
4044
}
4145

46+
variable "alarm_evaluation_slack_duration" {
47+
default = "PT5M"
48+
}
49+
4250
variable "alarm_freeform_tags" {
4351
default = {
4452
"Department" = "Finance"
@@ -69,6 +77,10 @@ variable "alarm_pending_duration" {
6977
default = "PT5M"
7078
}
7179

80+
variable "alarm_notification_title" {
81+
default = "Sample title with severity {{severity}}"
82+
}
83+
7284
variable "alarm_query" {
7385
default = "CpuUtilization[10m].percentile(0.9) < 85"
7486
}
@@ -172,9 +184,12 @@ resource "oci_monitoring_alarm" "test_alarm" {
172184
severity = var.alarm_severity
173185

174186
#Optional
187+
alarm_summary = var.alarm_summary
175188
body = var.alarm_body
189+
evaluation_slack_duration = var.alarm_evaluation_slack_duration
176190
message_format = var.alarm_message_format
177191
metric_compartment_id_in_subtree = var.alarm_metric_compartment_id_in_subtree
192+
notification_title = var.alarm_notification_title
178193
notification_version = var.alarm_notification_version
179194
overrides {
180195
body = "90% CPU utilization."

examples/zips/adm.zip

0 Bytes
Binary file not shown.
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.

0 commit comments

Comments
 (0)