Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with using deploy.ps1 on MacOS #34

Open
tomaslaz opened this issue May 22, 2019 · 5 comments
Open

Issues with using deploy.ps1 on MacOS #34

tomaslaz opened this issue May 22, 2019 · 5 comments

Comments

@tomaslaz
Copy link

The script throws the following error when executed and values for subscriptionId,
resourceGroupName and deploymentName entered:

Screenshot 2019-05-22 at 14 01 05

If this error is ignored and all the following actions accepted, the script fails with the following error:
Screenshot 2019-05-22 at 13 58 40

@tomaslaz
Copy link
Author

After the fix I get the following error because the script fails to install necessary modules

Screenshot 2019-05-22 at 14 40 27

@leestott
Copy link
Contributor

@tomaslaz what was the reason you were using Powershell on MacOs vs Bash?

@tomaslaz
Copy link
Author

As I remember, I was testing the script written by someone else

@stylesm
Copy link
Collaborator

stylesm commented Jul 25, 2019

@leestott this was @tomaslaz using the Powershell scripts I'd written. We tried a combo of local on MacOS, and in Azure Portal using the console. Worked much better in browser.

The scripts didn't work on MacOS because some of the dependent Azure packages weren't available for MacOS (I believe.. was a while ago now!)

The line which fails is one which tries to install Azure Powershell modules.

@tomaslaz
Copy link
Author

Thanks for clarifying this @stylesm it has been some time ago. I can confirm everything what you have said. Apologies for my bad memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants