Skip to content

Commit

Permalink
updated solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
schijioke-uche committed Apr 5, 2021
1 parent b2c6dca commit c243da2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion AksTerraform/terradeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ function sa(){
SA_USR="{}"
SA_PWD="{}"
SA_TN="{}"
SA_SUBID="{}"
}

function authenticate(){
#Authenticate
az login -u $SA_USR --p $SA_PWD --tenant $SA_TN
az login -u $SA_USR --p $SA_PWD --tenant $SA_TN
az account set --subscription=$SA_SUBID
cProcesswait
}

Expand Down
4 changes: 3 additions & 1 deletion AksTerraform/terradestroy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ function sa(){
SA_USR="{}"
SA_PWD="{}"
SA_TN="{}"
SA_SUBID="{}"
}

function authenticate(){
#Authenticate
az login -u $SA_USR --p $SA_PWD --tenant $SA_TN
az login -u $SA_USR --p $SA_PWD --tenant $SA_TN
az account set --subscription=$SA_SUBID
cProcesswait
}

Expand Down
2 changes: 2 additions & 0 deletions Apps/appdeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ function sa(){
SA_USR="{}"
SA_PWD="{}"
SA_TN="{}"
SA_SUBID="{}"
}

function authenticate(){
#Authenticate
az login -u $SA_USR --p $SA_PWD --tenant $SA_TN
az account set --subscription=$SA_SUBID
cProcesswait
}

Expand Down

0 comments on commit c243da2

Please sign in to comment.