-
Notifications
You must be signed in to change notification settings - Fork 684
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 #1915 from oracle/release_gh
Releasing version 5.4.0
- Loading branch information
Showing
403 changed files
with
23,286 additions
and
508 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,6 @@ | ||
## This is tmp config to run import for resources | ||
data "oci_core_instance" "test_instance" { | ||
#Required | ||
instance_id = "ocid1.instance.oc1.phx.anyhqljsjcdxrhqcovs45jnvimoshybmoddqtuf2xy5zzq3ph3fuwj7ugbla" | ||
} | ||
|
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,3 @@ | ||
provider oci { | ||
region = var.region | ||
} |
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,3 @@ | ||
variable region { default = "us-phoenix-1" } | ||
variable tenancy_ocid { default = "ocid1.tenancy.oc1..aaaaaaaagkbzgg6lpzrf47xzy4rjoxg4de6ncfiq2rncmjiujvy2hjgxvziq" } | ||
variable compartment_ocid { default = "ocid1.tenancy.oc1..aaaaaaaagkbzgg6lpzrf47xzy4rjoxg4de6ncfiq2rncmjiujvy2hjgxvziq" } |
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
Empty file.
153 changes: 153 additions & 0 deletions
153
examples/database/exadata_cc_3rd_network/exadata-infrastructure.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,153 @@ | ||
// Copyright (c) 2017, 2023, 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" { | ||
} | ||
|
||
variable "compartment_ocid" { | ||
} | ||
|
||
variable "ssh_public_key" { | ||
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCoUma91jRZV5yeAv46/JRFbd7t7J+yfopdvhh+aO3e7IFpQymdiWaTXFbONJnAqIGP90ux5icYEoNNTkcD1uf+kN/nPBjtUkla2PGNsZOkNFkQTVQxqHnGuLznP259MhCpWDXPnuwYGbsTT0LodWh9nq1v52viL7D/R6GJSz63IkgKqVebuSbqA+51hNwcpDic8MQ19Ilb0Z+sY7bGZnR2GTFNa6Bm9UGWAArOZ4ER453CmN96lX3KbimI6iW85Eny4OCndwOjK25JHXI4A7K3GVMoplyJtjBM5ExC7Xt3/L3yDNiF3oZbdHd3OQtmjajQeub2NlVU6+8AQJK/ecODQ7+S6DTZuPUma5KLEOMDXjrzYjXbBEkZaxu7kQK+KBIdhqSpkeZUr4OB+Qumd9B/WjMJOzLGLt1uJ2x7lgKlrDIfXAwWYm1cHEE0K7kDVFLtGEayF6E4cIHw70OoOyq6CSxaphkIFvsBYFfFx1rc8w1upKokzi489ij53mY/r8M= [email protected]" | ||
} | ||
|
||
provider "oci" { | ||
tenancy_ocid = var.tenancy_ocid | ||
user_ocid = var.user_ocid | ||
fingerprint = var.fingerprint | ||
private_key_path = var.private_key_path | ||
region = "us-ashburn-1" | ||
//version = "4.121.0" | ||
} | ||
|
||
resource "oci_database_exadata_infrastructure" "test_exadata_infrastructure" { | ||
#Required | ||
admin_network_cidr = "192.168.0.0/16" | ||
cloud_control_plane_server1 = "10.32.88.1" | ||
cloud_control_plane_server2 = "10.32.88.3" | ||
compartment_id = var.compartment_ocid | ||
display_name = "tstExaInfra" | ||
dns_server = ["10.231.225.65"] | ||
gateway = "10.32.88.5" | ||
infini_band_network_cidr = "10.31.8.0/21" | ||
netmask = "255.255.255.0" | ||
ntp_server = ["10.231.225.76"] | ||
shape = "ExadataCC.X7" | ||
time_zone = "US/Pacific" | ||
activation_file = "activation.zip" | ||
storage_count = 3 | ||
compute_count = 2 | ||
is_cps_offline_report_enabled = false | ||
is_multi_rack_deployment = false | ||
|
||
#Optional | ||
network_bonding_mode_details { | ||
backup_network_bonding_mode = "ACTIVE_BACKUP" | ||
client_network_bonding_mode = "ACTIVE_BACKUP" | ||
} | ||
|
||
#Optional | ||
contacts { | ||
email = "[email protected]" | ||
is_primary = "true" | ||
name = "name" | ||
phone_number = "1234567891" | ||
} | ||
|
||
corporate_proxy = "http://192.168.19.1:80" | ||
/*defined_tags = { | ||
"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "updatedvalue" | ||
} | ||
freeform_tags = { | ||
"Department" = "Accounting" | ||
}*/ | ||
|
||
maintenance_window { | ||
preference = "CUSTOM_PREFERENCE" | ||
|
||
days_of_week { | ||
name = "TUESDAY" | ||
} | ||
|
||
hours_of_day = ["4"] | ||
lead_time_in_weeks = 2 | ||
|
||
months { | ||
name = "JANUARY" | ||
} | ||
|
||
months { | ||
name = "APRIL" | ||
} | ||
|
||
months { | ||
name = "JULY" | ||
} | ||
|
||
months { | ||
name = "OCTOBER" | ||
} | ||
|
||
weeks_of_month = ["2"] | ||
|
||
patching_mode = "ROLLING" | ||
|
||
is_custom_action_timeout_enabled = true | ||
|
||
custom_action_timeout_in_mins = 30 | ||
} | ||
|
||
} | ||
|
||
data "oci_database_exadata_infrastructure_download_config_file" "test_exadata_infrastructure_download_config_file" { | ||
#Required | ||
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id | ||
|
||
#Optional | ||
base64_encode_content = true | ||
} | ||
|
||
data "oci_database_exadata_infrastructures" "test_exadata_infrastructures" { | ||
#Required | ||
compartment_id = var.compartment_ocid | ||
} | ||
|
||
/* | ||
resource "oci_identity_tag_namespace" "tag-namespace1" { | ||
#Required | ||
compartment_id = var.tenancy_ocid | ||
description = "tagNamespace1" | ||
name = "testexamples-tag-namespace1" | ||
} | ||
resource "oci_identity_tag" "tag1" { | ||
#Required | ||
description = "tf example tag" | ||
name = "tf-example-tag" | ||
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id | ||
} | ||
*/ | ||
|
||
data "oci_identity_availability_domain" "ad" { | ||
compartment_id = var.tenancy_ocid | ||
ad_number = 1 | ||
} | ||
|
||
resource "local_file" "test_exadata_infrastructure_downloaded_config_file" { | ||
content = data.oci_database_exadata_infrastructure_download_config_file.test_exadata_infrastructure_download_config_file.content | ||
filename = "${path.module}/exadata_infrastructure_config.zip" | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
examples/database/exadata_cc_3rd_network/exadata_infrastructure_config.zip
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 @@ | ||
ZmFrZV9leGFjY19pbmZyYXN0cnVjdHVyZV9jb25maWc= |
Oops, something went wrong.