diff --git a/library/src/main/java/bio/terra/landingzone/library/configuration/LandingZoneAzureConfiguration.java b/library/src/main/java/bio/terra/landingzone/library/configuration/LandingZoneAzureConfiguration.java index 084de065..2ca057d6 100644 --- a/library/src/main/java/bio/terra/landingzone/library/configuration/LandingZoneAzureConfiguration.java +++ b/library/src/main/java/bio/terra/landingzone/library/configuration/LandingZoneAzureConfiguration.java @@ -37,11 +37,13 @@ public void setManagedAppTenantId(String managedAppTenantId) { this.managedAppTenantId = managedAppTenantId; } + + // AzureCloud or AzureUSGovernmentCloud public AzureEnvironment getAzureEnvironment() { switch (azureEnvironment) { - case "AZURE": + case "AzureCloud": return AzureEnvironment.AZURE; - case "AZURE_GOV": + case "AzureUSGovernmentCloud": return AzureEnvironment.AZURE_US_GOVERNMENT; default: throw new IllegalArgumentException(