@@ -48,14 +48,15 @@ var (
4848 }
4949
5050 DisasterRecoveryDrProtectionGroupRepresentation = map [string ]interface {}{
51- "compartment_id" : acctest.Representation {RepType : acctest .Required , Create : `${var.compartment_id}` },
52- "display_name" : acctest.Representation {RepType : acctest .Required , Create : `My DR Protection Group` , Update : `displayName2` },
53- "log_location" : acctest.RepresentationGroup {RepType : acctest .Required , Group : DisasterRecoveryDrProtectionGroupLogLocationRepresentation },
54- "association" : acctest.RepresentationGroup {RepType : acctest .Optional , Group : DisasterRecoveryDrProtectionGroupAssociationRepresentation },
55- "members" : acctest.RepresentationGroup {RepType : acctest .Required , Group : DisasterRecoveryDrProtectionGroupMembersRepresentation },
56- "defined_tags" : acctest.Representation {RepType : acctest .Optional , Create : `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "value")}` , Update : `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedValue")}` },
57- "freeform_tags" : acctest.Representation {RepType : acctest .Optional , Create : map [string ]string {"Department" : "Finance" }, Update : map [string ]string {"Department" : "Accounting" }},
58- "lifecycle" : acctest.RepresentationGroup {RepType : acctest .Optional , Group : DefinedTagsIgnoreRepresentation },
51+ "compartment_id" : acctest.Representation {RepType : acctest .Required , Create : `${var.compartment_id}` },
52+ "display_name" : acctest.Representation {RepType : acctest .Required , Create : `My DR Protection Group` , Update : `displayName2` },
53+ "log_location" : acctest.RepresentationGroup {RepType : acctest .Required , Group : DisasterRecoveryDrProtectionGroupLogLocationRepresentation },
54+ "association" : acctest.RepresentationGroup {RepType : acctest .Optional , Group : DisasterRecoveryDrProtectionGroupAssociationRepresentation },
55+ "members" : acctest.RepresentationGroup {RepType : acctest .Required , Group : DisasterRecoveryDrProtectionGroupMembersRepresentation },
56+ "defined_tags" : acctest.Representation {RepType : acctest .Optional , Create : `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "value")}` , Update : `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedValue")}` },
57+ "freeform_tags" : acctest.Representation {RepType : acctest .Optional , Create : map [string ]string {"Department" : "Finance" }, Update : map [string ]string {"Department" : "Accounting" }},
58+ "lifecycle" : acctest.RepresentationGroup {RepType : acctest .Optional , Group : DefinedTagsIgnoreRepresentation },
59+ "disassociate_trigger" : acctest.Representation {RepType : acctest .Optional , Create : `0` },
5960 }
6061
6162 DisasterRecoveryPeerDrProtectionGroupRepresentation = map [string ]interface {}{
@@ -420,6 +421,7 @@ func TestDisasterRecoveryDrProtectionGroupResource_basic(t *testing.T) {
420421 ImportStateVerify : true ,
421422 ImportStateVerifyIgnore : []string {
422423 "association" ,
424+ "disassociate_trigger" ,
423425 },
424426 ResourceName : resourceName ,
425427 },
0 commit comments