added touch $TFENVFILE back into script

This commit is contained in:
Jeffrey Cline 2018-02-27 16:14:27 -08:00
parent de76e7ab5d
commit 4d856fa49a

View File

@ -116,6 +116,7 @@ echo "export ARM_USE_MSI=true" >> $PROFILEFILE
echo "export ARM_MSI_ENDPOINT=\"https://localhost:50342\"" >> $PROFILEFILE
# Add contributor permissions to the MSI for entire subscription
touch $TFENVFILE
echo "az login" >> $TFENVFILE
echo "az role assignment create --assignee \"$MSI_PRINCIPAL_ID\" --role 'b24988ac-6180-42a0-ab88-20f7382dd24c' --scope /subscriptions/\"$SUBSCRIPTION_ID\"" >> $TFENVFILE
chmod 755 $TFENVFILE