File tree Expand file tree Collapse file tree
oracledatabase_autonomous_database_disaster_recovery Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ resource "google_oracle_database_autonomous_database" "adb-dr" {
2+ autonomous_database_id = " my-instance-${ local . name_suffix } "
3+ location = " us-east4"
4+ project = " my-project-${ local . name_suffix } "
5+ database = " mydatabase-${ local . name_suffix } "
6+ admin_password = " 123Abpassword"
7+ properties {
8+ compute_count = " 2"
9+ data_storage_size_gb = " 20"
10+ db_version = " 19c"
11+ db_workload = " OLTP"
12+ license_type = " LICENSE_INCLUDED"
13+ mtls_connection_required = " true"
14+ }
15+ deletion_protection = " true-${ local . name_suffix } "
16+ }
17+
18+
119resource "google_oracle_database_autonomous_database" "myADB" {
2- autonomous_database_id = " my-primary-adb-id -${ local . name_suffix } "
20+ autonomous_database_id = " my-instance -${ local . name_suffix } "
321 location = " my-location-${ local . name_suffix } "
422 project = " my-project-${ local . name_suffix } "
523 source_config {
6- autonomous_database = " " projects / my - project / locations / us - east4 / autonomousDatabases / adb- id " - ${ local . name_suffix } "
24+ autonomous_database = google_oracle_database_autonomous_database . adb-dr . name
725 automatic_backups_replication_enabled = " false-${ local . name_suffix } "
826 }
927 deletion_protection = " true-${ local . name_suffix } "
You can’t perform that action at this time.
0 commit comments