Skip to content

Commit

Permalink
Fixed undefined redis in dapr-binding-manual
Browse files Browse the repository at this point in the history
Signed-off-by: SoTrx <[email protected]>
  • Loading branch information
SoTrx committed Oct 7, 2024
1 parent 12d75ee commit b848765
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ resource myapp 'Applications.Core/containers@2023-10-01-preview' = {
}
}

module redis '../../../../../../test/testrecipes/modules/redis-selfhost.bicep' = {
name: '${baseName}-redis-deployment'
params: {
name: '${baseName}-redis'
namespace: namespace
application: app.name
}
}

//SAMPLE
resource binding 'Applications.Dapr/bindings@2023-10-01-preview' = {
name: 'outredis'
Expand All @@ -58,7 +49,7 @@ resource binding 'Applications.Dapr/bindings@2023-10-01-preview' = {
type: 'bindings.redis'
metadata: {
redisHost: {
value: '${redis.outputs.host}:${redis.outputs.port}'
value: '<REDIS-URL>'
}
redisPassword: {
value: ''
Expand Down

0 comments on commit b848765

Please sign in to comment.