Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Commit b992047

Browse files
stishkinstas
andauthored
if service principal deployment is skipped, then also ignore enalbing of service providers on the subscription (#240)
Co-authored-by: stas <statis@microsoft.com>
1 parent b99ae97 commit b992047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/raft_sdk/raft_deploy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,8 @@ def deploy(self, sku, skip_sp_deployment):
12081208
container_registry_username,
12091209
container_registry_password)
12101210

1211-
self.add_resource_providers()
1211+
if not skip_sp_deployment:
1212+
self.add_resource_providers()
12121213

12131214
self.context['clientId'] = service_principal['appId']
12141215
self.context['tenantId'] = service_principal['tenant']

0 commit comments

Comments
 (0)