chore(oraclecloud): Add Oracle Defense Cloud Support (#10376)

Co-authored-by: Ronan Chota <ronan.chota@saic.com>
Co-authored-by: Hugo Pereira Brito <101209179+HugoPBrito@users.noreply.github.com>
Co-authored-by: Hugo P.Brito <hugopbrit@gmail.com>
This commit is contained in:
rchotacode
2026-03-19 05:41:58 -04:00
committed by GitHub
parent 11a8873155
commit 0f2fdcfb3f
4 changed files with 19 additions and 2 deletions

View File

@@ -156,6 +156,10 @@ def update_config_file(regions, config_file_path):
raise Exception(
"Validation failed: OCI_GOVERNMENT_REGIONS section missing after update. Aborting to prevent data loss."
)
if "OCI_US_DOD_REGIONS" not in updated_content:
raise Exception(
"Validation failed: OCI_US_DOD_REGIONS section missing after update. Aborting to prevent data loss."
)
# Verify the replacement was successful
if updated_content == config_content: