Skip to content

Commit 892dc39

Browse files
committed
Automation Toolkit Release v2024.4.2
1 parent 3fb671c commit 892dc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cd3_automation_toolkit/user-scripts/createTenancyConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def create_bucket(config, signer):
622622

623623
if remote_state == "yes":
624624
#fetch compartment ocid from compartment name
625-
if "ocid1.compartment.oc" not in compartment_ocid:
625+
if "ocid1.compartment.oc" not in compartment_ocid and "ocid1.tenancy.oc" not in compartment_ocid:
626626
print("Fetching existing Compartments from Tenancy...")
627627
ct.get_network_compartment_ids(config['tenancy'], "root", config, signer)
628628
compartment_ocid = ct.ntk_compartment_ids[compartment_ocid]

0 commit comments

Comments
 (0)