-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2038 from oracle/release_gh
Releasing version 5.27.0
- Loading branch information
Showing
448 changed files
with
12,770 additions
and
1,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Oops, something went wrong.