This message was deleted.
# aws
s
This message was deleted.
p
you need write it like
Copy code
pulumi.interpolate `redis://${redisCluster.cacheNodes.nodes[0].address}:6379`
I think
a
Thanks for the quick reply! Unfortunately I get :
TSError: ⨯ Unable to compile TypeScript:
index.ts(217,56): error TS2345: Argument of type 'string' is not assignable to parameter of type 'TemplateStringsArray'.
index.ts(217,91): error TS2339: Property 'nodes' does not exist on type 'Output<ClusterCacheNode[]>'.
If I ask for element at index 0 of
cacheNodes
, then I get :
TSError: ⨯ Unable to compile TypeScript:
index.ts(217,56): error TS2345: Argument of type 'string' is not assignable to parameter of type 'TemplateStringsArray'.
Actually that seems to have worked on the second run 🤷‍♂️
Thanks!