-
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
Support for linking function app to static web app #14319
Comments
@jackofallops hello. Do you know if this request for fall under the current plan to limit changes to App service/Functions until the 3.0.0 release of AzureRM? I think it would be like |
Hi @adamyager - This isn't in scope for the service rewrite currently as we don't support provisioning Functions (within a Function App / Static Web App) at this time (which is a separate resource to Function Apps). The main focus of the rewrite was for resources / services that have undergone significant change/evolution since their introduction into the provider several years ago (time flies!). Static Web Apps are a relatively recent addition so, although I'm planning on giving them some TLC in the future, it'll currently be post-3.0. I think there are some issues with this API for the way Terraform works, which I need to review and see if we can work with the service team to iron out. |
@jackofallops thanks for the note. I do want to clarify that I am fairly certain that, in the case of Static Web apps and functions, that you are "attaching" a standard or normal function to a static web app as the underlying runtime. I think I was gathering from your note that it is a different service. I am not stating this to suggest it gets moved ahead or expedited but I do want to clarify what is happening. You can see the steps one would take in the portal to sort of clarify the mechanics here. https://docs.microsoft.com/en-us/azure/static-web-apps/functions-bring-your-own#link-an-existing-azure-functions-app and https://docs.microsoft.com/en-us/azure/static-web-apps/apis Personally, I think they should have followed the patter of Logic Apps Standard as the underlying architecture is similar in many ways. They abstract this attachment from the function and its simply part of the deployment. Anyway, thanks Again, Adam |
Thanks for the feedback @adamyager - apologies if my reply came across a little terse, that wasn't the intention 🙈 Apparently I missed the GA on the BYOF feature, I don't recall seeing it in the GA for the Static Web Apps, nor in our service change notifications. I'll add it to my list, thanks for clarifying and the heads up! 👍 |
Ha. I did not think you were terse at all. this one is strange in approach. Its not how I would have done it(on the azure side) and I agree there was no notification. Have a great day, Adam |
This comment was marked as off-topic.
This comment was marked as off-topic.
@jackofallops hope all is well. This is would be super helpful for us. I think its a fairly simple addition to unlock this service for our company. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi All 👋 We’re still looking to support this functionality, however we require acceptance tests for each resource that the Azure Provider supports and due to the way that the Static Web App works, we’re having issues getting working acceptance tests for this. This is as our testing framework doesn’t currently support external changes employed by the service (specifically creating GHA workflows) which isn’t part of our testing framework at this point in time - whilst we have a theory for how to make that work this is something we need to dig into. The other blocker is that to attach a Function to a Static Web App, the application must already be deployed and running, which is a feature not yet supported by Thanks |
Hello @jackofallops I am just seeing if there is an update here. this service can have some larger financial benefits to us as well as several simplification wins for our teams. Would be great to see if this is something you all can focus on and I would appreciate any update you have. |
Hello @jackofallops Also bumping this for a progress update. This would be a very valuable addition in functionality. Thanks |
@jackofallops can we get an update? We really would like this feature. |
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. |
Community Note
Description
We could also link a Function App to a Static Web app. This is detailed at Microsoft document
Note: This is allowed only for static web apps in standard plan.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: