Skip to content

Commit

Permalink
Updated LESSON9a
Browse files Browse the repository at this point in the history
  • Loading branch information
mlinxfeld committed Jun 1, 2021
1 parent 3e566f9 commit 9c42ba7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file not shown.
3 changes: 3 additions & 0 deletions LESSON9a_vcn_remote_peering_with_dataguard/rpc1_NEW.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
resource "oci_core_drg" "FoggyKitchenDRG1" {
depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy, oci_identity_user_group_membership.FoggyKitchenRequestorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy]
provider = oci.requestor
display_name = "FoggyKitchenDRG1"
compartment_id = oci_identity_compartment.FoggyKitchenCompartment.id
}

resource "oci_core_drg_attachment" "FoggyKitchenDRG1Attachment" {
depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy, oci_identity_user_group_membership.FoggyKitchenRequestorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy]
provider = oci.requestor
drg_id = oci_core_drg.FoggyKitchenDRG1.id
vcn_id = oci_core_virtual_network.FoggyKitchenVCN.id
}

resource "oci_core_remote_peering_connection" "FoggyKitchenRPC1" {
depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy, oci_identity_user_group_membership.FoggyKitchenRequestorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenRequestorPolicy]
provider = oci.requestor
compartment_id = oci_identity_compartment.FoggyKitchenCompartment.id
drg_id = oci_core_drg.FoggyKitchenDRG1.id
Expand Down
3 changes: 3 additions & 0 deletions LESSON9a_vcn_remote_peering_with_dataguard/rpc2_NEW.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
resource "oci_core_drg" "FoggyKitchenDRG2" {
depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy, oci_identity_user_group_membership.FoggyKitchenAcceptorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy]
provider = oci.acceptor
display_name = "FoggyKitchenDRG2"
compartment_id = oci_identity_compartment.ExternalCompartment.id
}

resource "oci_core_drg_attachment" "FoggyKitchenDRG2Attachment" {
depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy, oci_identity_user_group_membership.FoggyKitchenAcceptorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy]
provider = oci.acceptor
drg_id = oci_core_drg.FoggyKitchenDRG2.id
vcn_id = oci_core_virtual_network.FoggyKitchenVCN2.id
}

resource "oci_core_remote_peering_connection" "FoggyKitchenRPC2" {
depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy, oci_identity_user_group_membership.FoggyKitchenAcceptorUserGroupMembership]
# depends_on = [oci_identity_policy.FoggyKitchenAcceptorPolicy]
provider = oci.acceptor
compartment_id = oci_identity_compartment.ExternalCompartment.id
drg_id = oci_core_drg.FoggyKitchenDRG2.id
Expand Down

0 comments on commit 9c42ba7

Please sign in to comment.