-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5363 from dfe-analytical-services/dev
Merge Dev into Master
- Loading branch information
Showing
91 changed files
with
5,164 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
infrastructure/templates/public-api/application/public-api/publicApiDocs.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { resourceNamesType, staticWebAppSkuType } from '../../types.bicep' | ||
|
||
@description('Common resource naming variables.') | ||
param resourceNames resourceNamesType | ||
|
||
@description('Static Web App SKU to use.') | ||
param appSku staticWebAppSkuType = 'Free' | ||
|
||
@description('A set of tags for the resource.') | ||
param tagValues object | ||
|
||
module publicApiDocsApp '../../components/staticWebApp.bicep' = { | ||
name: 'publicApiDocsAppDeploy' | ||
params: { | ||
name: resourceNames.publicApi.docsApp | ||
tagValues: tagValues | ||
sku: appSku | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
infrastructure/templates/public-api/components/staticWebApp.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { staticWebAppSkuType } from '../types.bicep' | ||
|
||
@description('Name of the resource.') | ||
param name string | ||
|
||
@description('Location for an optional Azure Functions API backend (only certain regions allowed).') | ||
@allowed(['centralus', 'eastus2', 'eastasia', 'westeurope', 'westus2']) | ||
param location string = 'westeurope' | ||
|
||
@description('Static Web App SKU to use.') | ||
param sku staticWebAppSkuType = 'Free' | ||
|
||
@description('A set of tags for the resource.') | ||
param tagValues object | ||
|
||
resource staticWebApp 'Microsoft.Web/staticSites@2023-12-01' = { | ||
name: name | ||
location: location | ||
tags: tagValues | ||
sku: { | ||
name: sku | ||
size: sku | ||
} | ||
properties: {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.