Skip to content

Commit

Permalink
Merge pull request #2038 from oracle/release_gh
Browse files Browse the repository at this point in the history
Releasing version 5.27.0
  • Loading branch information
NagaRajuPasunuri authored Jan 31, 2024
2 parents 1503673 + b182667 commit 09d7fc9
Show file tree
Hide file tree
Showing 448 changed files with 12,770 additions and 1,790 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 5.27.0 (January 31, 2024)

### Added
- Support for Database Management: Database Named Credentials
- New attribute are_data_asset_references_included in dataintegration import api
- Upgrade and Manage Payment- Giro dataset fetch and add giro attribute to subscriptions resource
- Support for DIS Application Patch API
### Bug Fix
- Validate VM Cluster tag addition failing in VALIDATED state
- Consecutive Shrink action api calls fails.

## 5.26.0 (January 24, 2024)

### Added
Expand Down
14 changes: 14 additions & 0 deletions examples/database/adb/autonomous_database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,17 @@ output "autonomous_databases" {
value = data.oci_database_autonomous_databases.autonomous_databases.autonomous_databases
}


resource "oci_database_autonomous_database" "test_autonomous_database_shrink" {
admin_password = random_string.autonomous_database_admin_password.result
compartment_id = var.compartment_ocid
cpu_core_count = "16"
data_storage_size_in_tbs = "16"
db_name = "adbapex18"
db_version = "19c"
db_workload = "OLTP"
license_model = "LICENSE_INCLUDED"
shrink_adb_trigger = "2"
is_auto_scaling_for_storage_enabled = "true"
}

100 changes: 100 additions & 0 deletions examples/databasemanagement/db_params/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
// Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "region" {}

provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = var.region
}

variable "managed_databases_database_parameter_credentials_password" {
default = "DBPassword"
}

variable "managed_databases_database_parameter_credentials_username" {
default = "SYS"
}

variable "managed_databases_database_parameter_credentials_role" {
default = "SYSDBA"
}

variable "managed_databases_database_parameter_parameters_name" {
default = "open_cursors"
}

variable "managed_databases_database_parameter_parameters_value" {
default = "305"
}

variable "managed_databases_database_parameter_update_comment" {
default = "Terraform update of open cursors"
}

variable "managed_databases_database_parameter_scope" {
default = "BOTH"
}

variable "managed_databases_database_parameter_is_allowed_values_included" {
default = "false"
}

variable "managed_databases_database_parameter_source" {
default = "CURRENT"
}


resource "oci_database_management_managed_databases_change_database_parameter" "test_managed_databases_change_database_parameter" {
#Required
credentials {

#Optional
password = var.managed_databases_database_parameter_credentials_password
role = var.managed_databases_database_parameter_credentials_role
user_name = var.managed_databases_database_parameter_credentials_username
}
managed_database_id = var.managed_database_id
parameters {
#Required
name = var.managed_databases_database_parameter_parameters_name
value = var.managed_databases_database_parameter_parameters_value

#Optional
update_comment = var.managed_databases_database_parameter_update_comment
}
scope = var.managed_databases_database_parameter_scope
}


resource "oci_database_management_managed_databases_reset_database_parameter" "test_managed_databases_reset_database_parameter" {
#Required
credentials {

#Optional
password = var.managed_databases_database_parameter_credentials_password
role = var.managed_databases_database_parameter_credentials_role
user_name = var.managed_databases_database_parameter_credentials_username
}
managed_database_id = var.managed_database_id
parameters = [var.managed_databases_database_parameter_parameters_name]
scope = var.managed_databases_database_parameter_scope
}


data "oci_database_management_managed_databases_database_parameter" "test_managed_databases_database_parameter" {
#Required
managed_database_id = var.managed_database_id

#Optional
is_allowed_values_included = var.managed_databases_database_parameter_is_allowed_values_included
name = var.managed_databases_database_parameter_parameters_name
source = var.managed_databases_database_parameter_source
}
Loading

0 comments on commit 09d7fc9

Please sign in to comment.