Skip to content

Commit 4d856fa

Browse files
committed
added touch $TFENVFILE back into script
1 parent de76e7a commit 4d856fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • solution_template/vm-linux-terraform/scripts

solution_template/vm-linux-terraform/scripts/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ echo "export ARM_USE_MSI=true" >> $PROFILEFILE
116116
echo "export ARM_MSI_ENDPOINT=\"https://localhost:50342\"" >> $PROFILEFILE
117117

118118
# Add contributor permissions to the MSI for entire subscription
119+
touch $TFENVFILE
119120
echo "az login" >> $TFENVFILE
120121
echo "az role assignment create --assignee \"$MSI_PRINCIPAL_ID\" --role 'b24988ac-6180-42a0-ab88-20f7382dd24c' --scope /subscriptions/\"$SUBSCRIPTION_ID\"" >> $TFENVFILE
121122
chmod 755 $TFENVFILE

0 commit comments

Comments
 (0)