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

Lab3 - Creating Multiple App Service Plans using Count Meta Parameter #70

Closed
agrajm opened this issue Aug 17, 2019 · 4 comments
Closed

Comments

@agrajm
Copy link

agrajm commented Aug 17, 2019

Hi @richeney
Thanks for creating the awesome hands-on labs :)
While trying out lab3 count meta parameter to create 3 different linux based free app service plans, I'm getting the following error:

Error: Error creating/updating App Service Plan "plan-free-westus" (Resource Group "webapps"): web.AppServicePlansClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Exceeded the limit of 1 free tier linux server farm per subscription." Details=[{"Message":"Exceeded the limit of 1 free tier linux server farm per subscription."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"11027","Message":"Exceeded the limit of 1 free tier linux server farm per subscription.","MessageTemplate":"Exceeded the limit of 1 free tier linux server farm per subscription.","Parameters":[]}}]

Important part is Exceeded the limit of 1 free tier linux server farm per subscription.
While the limits mention being able to create 10 free app service plans per region but my error message says otherwise for linux based free plans !

Have you been able to workaround this ?
I can confirm if I switch to Standard SKU it works well.

@richeney
Copy link
Collaborator

Cheers for the feedback!

Quick double check - the labs use Windows based web apps, but you modified to a linux based web app and hit the problem? And what kind of subscription do you have? If you send your config as a GitHub Gist then I'll try it out on my Visual Studio and internal Microsoft subscriptions and see if it is a general limitation (!?) or a restriction based on your subscription offer.

@agrajm
Copy link
Author

agrajm commented Aug 19, 2019

Hi @richeney
Thanks for replying.
AFAICT, the lab uses Linux based app service plans - see lab files - https://github.com/richeney/terraform-lab4/blob/master/webapps.tf#L22

My Config with Linux based App Service Plans and Standard SKU that's working fine is present here If you change the SKU to Free it fails.

Cheers,
Agraj

@mfarley281
Copy link

I also ran into this issue, following the exact directions in the lab (using a fully funded/paid (Pay As You Go) subscription).

Thanks to @agrajm for the workaround!

@richeney
Copy link
Collaborator

Thanks for bringing this back to my attention! I need to rattle through the labs and refresh them for 0.12 - I have someone joining my team at Microsoft soon so that will help give the space and time for it - but in the meantime I have added a comment into the webapps.tf file based on the above. At least that will save anyone else hunting around for the answer.

https://github.com/richeney/terraform-lab4/blob/master/webapps.tf#L22

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