Not an issue; rather, looking for support of ASE deployments. Any pointers / timelines on status would be awesome.
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
https://github.com/terraform-providers/terraform-provider-azurerm/pull/869 is currently closed).
@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'm quite curious on the status as our company has put ASEv2 on the roadmap as a possibility for landing SaaS applications. :)
Hey all, Also hoping for an update to this. We're trying to transition over to Terraform and this is a blocker currently.
We run one ASE in production. I thought this as well when I started. I just
keep an eye on it and know that right now we won't configure the ASE via
terraform. No biggie.
On Wed, Dec 12, 2018, 5:39 PM mrwalters1988 <[email protected] wrote:
Hey all, Also hoping for an update to this. We're trying to transition
over to Terraform and this is a blocker currently.โ
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/terraform-providers/terraform-provider-azurerm/issues/438#issuecomment-446771135,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADxtkHdnoaHcVt82Dm5Po2S4eSdWhDTiks5u4YWKgaJpZM4P9Hvr
.
Any updates on this?
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 notifications@github.com
Date: 24/01/2019 14:26 (GMT+00:00)
To: terraform-providers/terraform-provider-azurerm terraform-provider-azurerm@noreply.github.com
Cc: liamfoneill liamfoneill@outlook.com, Manual manual@noreply.github.com
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 GitHubhttps://github.com/terraform-providers/terraform-provider-azurerm/issues/438#issuecomment-457214989, or mute the threadhttps://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.
i can add a step to wait ~40 minutes to make sure the ASE is deployed but i don't really like this...
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.
https://github.com/Azure/azure-rest-api-specs/issues/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 https://github.com/logachev/azure-rest-api-specs/pull/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 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.
@omar @ctooley21 @nexxai @tombuildsstuff fyi
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 v34.2.0
which includes latest ASE SDK. Do you have an ETA when the plugin can be updated to this version?
@logachev, we are now on v35 of the sdk in master ๐
Finally have some good news.
I have a rough implementation working for ASE v2 (not sure what is actually the status of ASE v1 and if it is needed at all).
I didn't test a lot of edge cases, but some defaults are working.
If you can share sample configurations you're interested in I can give it a try.
It takes forever to Create, so will try to send a PR in a few days.
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!
Most helpful comment
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.
@omar @ctooley21 @nexxai @tombuildsstuff fyi