Skip to content

Commit

Permalink
- Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seriva committed Mar 23, 2020
1 parent 09f9456 commit 89df4e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/epicli/cli/engine/terraform/TerraformRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ def azure_login(self):
subscription = apiproxy.login_account()
apiproxy.set_active_subscribtion(subscription['id'])
else:
# Service principle
# Service principal
sp_file = os.path.join(get_terraform_path(self.cluster_model.specification.name), SP_FILE_NAME)
if not os.path.exists(sp_file):
# If no service principle exists or is defined we created one and for that we need to login using an account
# If no service principal exists or is defined we created one and for that we need to login using an account
subscription = apiproxy.login_account()
apiproxy.set_active_subscribtion(subscription['id'])

# Create the service principle, for now we use the default subscription
# Create the service principal, for now we use the default subscription
self.logger.info('Creating service principal')
cluster_name = self.cluster_model.specification.name.lower()
cluster_prefix = self.cluster_model.specification.prefix.lower()
Expand Down

0 comments on commit 89df4e1

Please sign in to comment.