Skip to content

Commit

Permalink
fix(azure): use SSL port for redis in connection string (#546)
Browse files Browse the repository at this point in the history
We have disabled non SSL port for Redis, so have to use the sslPort.
  • Loading branch information
arealmaas authored Mar 13, 2024
1 parent 736fb59 commit 548bc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/modules/redis/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module redisConnectionString '../keyvault/upsertSecret.bicep' = {
destKeyVaultName: environmentKeyVaultName
secretName: 'dialogportenRedisConnectionString'
// disable public access? Use vnet here maybe?
secretValue: '${redis.properties.hostName}:${redis.properties.port},password=${redis.properties.accessKeys.primaryKey},ssl=True,abortConnect=False'
secretValue: '${redis.properties.hostName}:${redis.properties.sslPort},password=${redis.properties.accessKeys.primaryKey},ssl=True,abortConnect=False'
}
}

Expand Down

0 comments on commit 548bc47

Please sign in to comment.