Skip to content

Commit

Permalink
Add basic SWA Bicep template
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsim committed Oct 29, 2024
1 parent f7d08d0 commit 523ad9b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
.DS_Store

Staticfile.auth

.env
18 changes: 18 additions & 0 deletions infrastructure/main.bicep
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
param name string = 'ees-api-docs'

@allowed(['centralus', 'eastus2', 'eastasia', 'westeurope', 'westus2'])
param location string = 'westeurope'

@allowed(['Free', 'Standard'])
param sku string = 'Free'

resource staticWebApp 'Microsoft.Web/staticSites@2021-01-15' = {
name: name
location: location
tags: null
properties: {}
sku: {
name: sku
size: sku
}
}

0 comments on commit 523ad9b

Please sign in to comment.