Use correct config value for create_environment resource
This commit is contained in:
parent
1378fcfc15
commit
21d48c55cf
@ -145,7 +145,7 @@ class AzureCloudProvider(CloudProviderInterface):
|
|||||||
"secret_key": creds.root_sp_key,
|
"secret_key": creds.root_sp_key,
|
||||||
"tenant_id": creds.root_tenant_id,
|
"tenant_id": creds.root_tenant_id,
|
||||||
},
|
},
|
||||||
resource=AZURE_MANAGEMENT_API,
|
resource=self.sdk.cloud.endpoints.resource_manager,
|
||||||
)
|
)
|
||||||
|
|
||||||
response = self._create_management_group(
|
response = self._create_management_group(
|
||||||
@ -155,6 +155,8 @@ class AzureCloudProvider(CloudProviderInterface):
|
|||||||
payload.parent_id,
|
payload.parent_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if
|
||||||
|
|
||||||
return EnvironmentCSPResult(**response)
|
return EnvironmentCSPResult(**response)
|
||||||
|
|
||||||
def create_atat_admin_user(
|
def create_atat_admin_user(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user