Skip to content

Commit

Permalink
fix: change subnet size
Browse files Browse the repository at this point in the history
  • Loading branch information
asleboon committed Jan 24, 2025
1 parent d1823b9 commit 2a28989
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions infra/container-api-test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ param managedIdentityName string = 'bds-test-managedidentity'
param keyVaultName string = 'bds-test-keyvault'

@description('The name of the container environment.')
param containerName string = 'bds-test-containerenv-api'
param containerEnvName string = 'bds-test-containerenv-api'

@description('The name of the container app.')
param containerAppName string = 'bds-test-containerapp-api'
Expand All @@ -33,10 +33,10 @@ param acrPassword string
param containerImage string

module containerEnv 'modules/containerEnv.bicep' = {
name: containerName
name: containerEnvName
params: {
vnetName: vnetName
containerAppEnvironmentName: containerName
containerAppEnvironmentName: containerEnvName
location: location
logAnalyticsWorkspaceName: logAnalyticsWorkspaceName
}
Expand Down
1 change: 0 additions & 1 deletion infra/container-frontend-test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ param acrServer string
@description('The name of the ACR username.')
param acrUsername string


@secure()
@description('The name of the ACR password.')
param acrPassword string
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/sqlServer.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ resource vnet 'Microsoft.Network/virtualNetworks@2023-04-01' = {
properties: {
addressSpace: {
addressPrefixes: [
'10.0.0.0/24'
'10.0.0.0/23'
]
}
subnets: [
{
name: subnetName
properties: {
addressPrefix: '10.0.0.32/27'
addressPrefix: '10.0.0.0/23'
}
}
]
Expand Down

0 comments on commit 2a28989

Please sign in to comment.