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

Commit

Permalink
if service principal deployment is skipped, then also ignore enalbing…
Browse files Browse the repository at this point in the history
… of service providers on the subscription (#240)

Co-authored-by: stas <[email protected]>
  • Loading branch information
stishkin and stas authored Sep 2, 2021
1 parent b99ae97 commit b992047
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/raft_sdk/raft_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,8 @@ def deploy(self, sku, skip_sp_deployment):
container_registry_username,
container_registry_password)

self.add_resource_providers()
if not skip_sp_deployment:
self.add_resource_providers()

self.context['clientId'] = service_principal['appId']
self.context['tenantId'] = service_principal['tenant']
Expand Down

0 comments on commit b992047

Please sign in to comment.