Skip to content

Commit c0ab513

Browse files
committed
chore: update swa bicep
1 parent f684e8d commit c0ab513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure/infra/modules/website.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var linkedBackendId = backendType == 'container' ? container.id : ''
5151

5252
// Azure Static Web Apps
5353
// https://docs.microsoft.com/azure/templates/microsoft.web/staticsites?tabs=bicep
54-
resource staticWebApp 'Microsoft.Web/staticSites@2021-03-01' = {
54+
resource staticWebApp 'Microsoft.Web/staticSites@2022-09-01' = {
5555
name: 'website-${projectName}-${environment}-${uid}'
5656
location: location
5757
tags: tags
@@ -67,7 +67,7 @@ resource staticWebApp 'Microsoft.Web/staticSites@2021-03-01' = {
6767

6868
// Azure Static Web Apps linked backends
6969
// https://learn.microsoft.com/fazure/templates/microsoft.web/staticsites/linkedbackends?pivots=deployment-language-bicep
70-
resource staticWebAppBackend 'linkedBackends@2022-03-01' = if (linkedBackend) {
70+
resource staticWebAppBackend 'linkedBackends@2022-09-01' = if (linkedBackend) {
7171
name: 'website-api-${projectName}-${environment}-${uid}'
7272
properties: {
7373
backendResourceId: linkedBackendId

0 commit comments

Comments
 (0)