Skip to content

Commit 2ab2e2f

Browse files
authored
chore: Add APIM IP restriction to GraphQL container ingress (#843)
1 parent ebeb5a0 commit 2ab2e2f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.azure/applications/graphql/main.bicep

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ param imageTag string
66
param environment string
77
@minLength(3)
88
param location string
9+
@minLength(3)
10+
param apimIp string
911

1012
@minLength(3)
1113
@secure()
@@ -60,6 +62,7 @@ module containerApp '../../modules/containerApp/main.bicep' = {
6062
location: location
6163
envVariables: containerAppEnvVars
6264
containerAppEnvId: containerAppEnvironment.id
65+
apimIp: apimIp
6366
}
6467
}
6568

.azure/applications/graphql/staging.bicepparam

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using './main.bicep'
22

33
param environment = 'staging'
44
param location = 'norwayeast'
5+
param apimIp = '51.13.86.131'
56
param imageTag = readEnvironmentVariable('IMAGE_TAG')
67

78
// secrets

.azure/applications/graphql/test.bicepparam

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using './main.bicep'
22

33
param environment = 'test'
44
param location = 'norwayeast'
5+
param apimIp = '51.120.88.69'
56
param imageTag = readEnvironmentVariable('IMAGE_TAG')
67

78
// secrets

0 commit comments

Comments
 (0)