Skip to content

Commit ff1de98

Browse files
added the comments
1 parent 9ef6f01 commit ff1de98

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

infra/main.bicep

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,9 @@ module searchService 'br/public:avm/res/search/search-service:0.11.1' = {
19211921
managedIdentities: {
19221922
systemAssigned: true
19231923
}
1924+
1925+
// Enabled the Public access because other services are not able to connect with search search AVM module when public access is disabled
1926+
19241927
// publicNetworkAccess: enablePrivateNetworking ? 'Disabled' : 'Enabled'
19251928
publicNetworkAccess: 'Enabled'
19261929
networkRuleSet: {
@@ -1952,6 +1955,9 @@ module searchService 'br/public:avm/res/search/search-service:0.11.1' = {
19521955
principalType: 'ServicePrincipal'
19531956
}
19541957
]
1958+
1959+
//Removing the Private endpoints as we are facing the issue with connecting to search service while comminicating with agents
1960+
19551961
privateEndpoints:[]
19561962
// privateEndpoints: enablePrivateNetworking
19571963
// ? [

infra/main_custom.bicep

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,9 @@ module searchService 'br/public:avm/res/search/search-service:0.11.1' = {
19621962
managedIdentities: {
19631963
systemAssigned: true
19641964
}
1965+
1966+
// Enabled the Public access because other services are not able to connect with search search AVM module when public access is disabled
1967+
19651968
// publicNetworkAccess: enablePrivateNetworking ? 'Disabled' : 'Enabled'
19661969
publicNetworkAccess: 'Enabled'
19671970
networkRuleSet: {
@@ -1994,6 +1997,9 @@ module searchService 'br/public:avm/res/search/search-service:0.11.1' = {
19941997
}
19951998
]
19961999
privateEndpoints:[]
2000+
2001+
// Removing the Private endpoints as we are facing the issue with connecting to search service while comminicating with agents
2002+
19972003
// privateEndpoints: enablePrivateNetworking
19982004
// ? [
19992005
// {

0 commit comments

Comments
 (0)