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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for linking database to static web app #25649

Open
1 task done
ottoville opened this issue Apr 17, 2024 · 2 comments
Open
1 task done

Support for linking database to static web app #25649

ottoville opened this issue Apr 17, 2024 · 2 comments

Comments

@ottoville
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

A database could be connected to SWA. This is detailed at Microsoft document

New or Affected Resource(s)/Data Source(s)

azurerm_static_web_app_database

Potential Terraform Configuration

resource "azurerm_static_web_app_database" "example" {
  static_web_app_id = azurerm_static_web_app.example.id
  database_id   = azurerm_mssql_database.example.id
}

References

https://learn.microsoft.com/en-us/azure/static-web-apps/database-overview
https://learn.microsoft.com/en-us/azure/static-web-apps/database-configuration

@lawrenceadams
Copy link

Is this not now possible with this? https://stackoverflow.com/a/77477608/8162159 (forgive me if not what you want)

@ottoville
Copy link
Author

Is this not now possible with this? https://stackoverflow.com/a/77477608/8162159 (forgive me if not what you want)

Database linking is not done by adjusting application settings or secrets, so no.

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

No branches or pull requests

3 participants