-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Feature Request: AppService Environments (ASE) Support #438
Comments
hey @mjyeaney Thanks for opening this issue - apologies for the delayed response here! I've been taking a look into how we'd support App Service Environments this afternoon and have opened #869 which is a WIP PR adding support for App Service Environments into Terraform. In order to validate the Schema is correct (and not missing any commonly used fields), would it be possible to find out which features of App Service Environments you're using? Thanks! |
No problem - the basic customer scenarios for deploying ASE's are essentially the following:
Definitely appreciate the effort here - let me know if you need additional clarification. Thanks! |
@tombuildsstuff does this still have an upstream dependency? |
@achandmsft #917 is IMHO an upstream dependency. |
what is the state on this one ? |
Unfortunately the App Service Environment API is still broken - as such this is on hold until that's fixed (which is why |
@achandmsft @tombuildsstuff I filled Azure/azure-rest-api-specs#3648 and created Azure/azure-rest-api-specs#3774 so hopefully this can get fixed at the Azure API swagger and then pushed to the go SDK which help with the progress on this issue. |
@pietro thanks, unfortunately this blocking issue at this time is where App Service Environment doesn't finish provisioning (we stopped checking after 30 hours) for both an ASEv1 and an ASEv2 - which we couldn't find a way around - there's a thread tracking that (but I don't recall if it's on the Rest API Specs repo or through an internal channel); let me push for an update :) |
Hi @tombuildsstuff , did you get an update on that push? |
I would use ARM templates for now directly as even executing the ARM template with Terraform runs afoul of the 1 hour timeout bug.
…-------- Original message --------
From: Paul Pricop <[email protected]>
Date: 24/01/2019 14:26 (GMT+00:00)
To: terraform-providers/terraform-provider-azurerm <[email protected]>
Cc: liamfoneill <[email protected]>, Manual <[email protected]>
Subject: Re: [terraform-providers/terraform-provider-azurerm] Feature Request: AppService Environments (ASE) Support (#438)
Any updates on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#438 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABL4JEPNHUqT9nk_LphITCA17wtYFM7Iks5vGcKAgaJpZM4P9Hvr>.
|
I use ARM templates and Terraform to deploy ASE, but if you a have a pipeline that starts with an ASE deployment the rest of the steps will fail (deploying on top - app service plans, webapps, function apps etc) because of the timeout. |
Any updates on this? I have deployed 6-10 of these over the last 3-4 months. As we all know, this takes a long time and therefore I can't use Terraform to deploy these :(. I have also provided feedback to MSFT. |
ARM is a path forward but am working with several groups on this that would prefer it be included within Terraform proper. The problem with the ARM Templates is that the graph is not incorporated into the deployment which complicates the end deployment. |
@tombuildsstuff I saw your issues filed on the github for ASE provisioning. I was trying to run your PR to investigate it a little bit more. I found multiple problems with existing REST APIs and I filed bugs for the ASE team using internal feedback channel, also I sent issue details to the PM, responsible for this service. Create issueAzure/azure-rest-api-specs#4915 -- this issue is not a provisioning issue, it is a REST API spec problem. The issue is that spec lists error codes as an expected responses without error details, so go SDK gets '400 Bad Request', but keeps retrying. See logachev/azure-rest-api-specs#1 for the proposed fix I shared with ASE team. When this issue is resolved, ASE provisioning via the Terraform works (with a few minor changes in the old PR, I can share it later). (Tested with custom generated golang SDK) Delete issueDelete API has 2 issues:
I will post updates when I have them, but it is outside of my control :( |
any update? |
As far as I know, Product Group was targeting July to release fixes. |
@logachev Just wondering if the fixes are still on track for release this month? |
@nexxai sorry for the late response. I sent an email to the PG to ask for an ETA. Around 10 days ago I was asked to help PG to verify if their fixes unblock Terraform ASE provisioning. I will try to find some time next week to update @tombuildsstuff old ASE branch with latest SDKs and check if problem goes away. |
any update? |
@ctooley21 sorry, I didn't get any updates yet :( |
@logachev any luck with an update? Hate to keep pestering you, but really looking forward to this feature! |
Got an update from PG this morning: they will roll out fixes in the next few updates, asked to ping them for an updated status in a month. I will try to find some time to update my old branch with ASE resource to get it ready for tests. |
So what's the current status? Still nothing from PG? |
@egorchabala, sorry for the long delay.. I still didn't hear anything back from the PG :( From what I can see, there was a new swagger for ASE released 7 days ago (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/AppServiceEnvironments.json). I haven't had a chance to try it yet, but I don't see issues I saw before. Waiting for the Azure golang SDK publishing new version based on this swagger. |
@tombuildsstuff Azure GO sdk released |
@logachev, we are now on v35 of the sdk in master 🙂 |
Finally have some good news. If you can share sample configurations you're interested in I can give it a try. |
Any updates on the feature? This would be extremely helpful to our organization. |
@logachev here are some basic sample configuration templates we use for our ARM templates right now, https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-asev2-ilb-create/ and https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-asev2-create/. I would much rather be able to manage these through Terraform. |
This has been released in version 2.0.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.0.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Not an issue; rather, looking for support of ASE deployments. Any pointers / timelines on status would be awesome.
The text was updated successfully, but these errors were encountered: