diff --git a/infrastructure/resources.bicep b/infrastructure/resources.bicep index 8da9307..7320b80 100644 --- a/infrastructure/resources.bicep +++ b/infrastructure/resources.bicep @@ -36,10 +36,12 @@ resource storageAccountTableService 'Microsoft.Storage/storageAccounts/tableServ name: 'default' parent: storageAccount } -resource storageAccountTable 'Microsoft.Storage/storageAccounts/tableServices/tables@2021-09-01' = [for table in storageAccountTables: { - name: table - parent: storageAccountTableService -}] +resource storageAccountTable 'Microsoft.Storage/storageAccounts/tableServices/tables@2021-09-01' = [ + for table in storageAccountTables: { + name: table + parent: storageAccountTableService + } +] module storageAccountConfigurationValue 'configuration-value.bicep' = { name: 'storageAccountConfigurationValue' @@ -85,8 +87,8 @@ resource apiContainerApp 'Microsoft.App/containerApps@2023-08-01-preview' = { corsPolicy: { allowedOrigins: corsHostnames allowCredentials: true - allowedHeaders: [ '*' ] - allowedMethods: [ '*' ] + allowedHeaders: ['*'] + allowedMethods: ['*'] maxAge: 0 } } @@ -97,7 +99,7 @@ resource apiContainerApp 'Microsoft.App/containerApps@2023-08-01-preview' = { } secrets: [ { - name: 'container-registry-password' + name: 'containerregistrypassword' value: acrPassword } ] @@ -105,7 +107,7 @@ resource apiContainerApp 'Microsoft.App/containerApps@2023-08-01-preview' = { { server: acrLoginServer username: acrUsername - passwordSecretRef: 'container-registry-password' + passwordSecretRef: 'containerregistrypassword' } ] } @@ -129,7 +131,6 @@ resource apiContainerApp 'Microsoft.App/containerApps@2023-08-01-preview' = { value: appConfiguration.properties.endpoint } ] - } ] scale: {