-
Notifications
You must be signed in to change notification settings - Fork 686
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 #1783 from oracle/release_gh
Releasing version 4.110.0
- Loading branch information
Showing
131 changed files
with
617 additions
and
43 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
64 changes: 64 additions & 0 deletions
64
examples/database/adb/adb_dataguard/adb_cross_region_dataguard.tf
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,64 @@ | ||
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. | ||
// Licensed under the Mozilla Public License v2.0 | ||
|
||
resource "random_string" "autonomous_database_admin_password" { | ||
length = 16 | ||
min_numeric = 1 | ||
min_lower = 1 | ||
min_upper = 1 | ||
min_special = 1 | ||
} | ||
resource "time_sleep" "wait_300_seconds" { | ||
destroy_duration = "5m" | ||
depends_on = [oci_database_autonomous_database.autonomous_database_cross_region_dataguard_primary] | ||
} | ||
|
||
resource "oci_database_autonomous_database" "autonomous_database_cross_region_dataguard_primary" { | ||
admin_password = random_string.autonomous_database_admin_password.result | ||
compartment_id = var.compartment_id | ||
cpu_core_count = "1" | ||
data_storage_size_in_tbs = "1" | ||
db_name = "adbdb11ff2" | ||
db_version = "19c" | ||
license_model = "LICENSE_INCLUDED" | ||
is_free_tier = "false" | ||
} | ||
|
||
resource "oci_database_autonomous_database" "autonomous_database_cross_region_dataguard_standby" { | ||
#Note: this should be provisioned in another region as the source database. | ||
provider = oci.peer_region | ||
|
||
#Required for cross-region standby | ||
compartment_id = var.compartment_id | ||
source = "CROSS_REGION_DATAGUARD" | ||
source_id = oci_database_autonomous_database.autonomous_database_cross_region_dataguard_primary.id | ||
db_name = oci_database_autonomous_database.autonomous_database_cross_region_dataguard_primary.db_name | ||
} | ||
|
||
data "oci_database_autonomous_databases" "autonomous_databases" { | ||
filter { | ||
name = "id" | ||
values = [oci_database_autonomous_database.autonomous_database_cross_region_dataguard_standby.id] | ||
} | ||
|
||
filter { | ||
name = "peer_db_ids" | ||
values = [oci_database_autonomous_database.autonomous_database_cross_region_dataguard_primary.id] | ||
} | ||
|
||
filter { | ||
name = "role" | ||
values = ["STANDBY"] | ||
} | ||
|
||
#Required | ||
compartment_id = var.compartment_id | ||
|
||
#Optional | ||
display_name = oci_database_autonomous_database.autonomous_database_cross_region_dataguard_standby.display_name | ||
} | ||
|
||
output "autonomous_databases" { | ||
value = data.oci_database_autonomous_databases.autonomous_databases.autonomous_databases | ||
} | ||
|
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,42 @@ | ||
// Copyright (c) 2017, 2022, 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" { | ||
default = "us-phoenix-1" | ||
} | ||
|
||
variable "peer_region" { | ||
default = "us-ashburn-1" | ||
} | ||
|
||
variable "compartment_id" { | ||
} | ||
|
||
provider "oci" { | ||
region = var.region | ||
tenancy_ocid = var.tenancy_ocid | ||
user_ocid = var.user_ocid | ||
fingerprint = var.fingerprint | ||
private_key_path = var.private_key_path | ||
} | ||
|
||
provider "oci" { | ||
alias = "peer_region" | ||
region = var.peer_region | ||
tenancy_ocid = var.tenancy_ocid | ||
user_ocid = var.user_ocid | ||
fingerprint = var.fingerprint | ||
private_key_path = var.private_key_path | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
examples/zips/web_application_acceleration_and_security.zip
Binary file not shown.
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
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
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
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
Oops, something went wrong.