Hi guys, i got stuck with ssm string manipulation ...
# general
g
Hi guys, i got stuck with ssm string manipulation (Typescript Pulumi AWS), what i need :
Copy code
"dnsIpAddresses": [
          "10.0.2.66",
          "10.0.1.148"
        ]
What I get :
Copy code
"dnsIpAddresses": [
            "10.0.2.108,10.0.1.47"
          ]
My code :
Copy code
"dnsIpAddresses": ["${barDirectory.dnsIpAddresses}"]
My silly solution :
Copy code
"dnsIpAddresses": ["${barDirectory.dnsIpAddresses[0]}", "${barDirectory.dnsIpAddresses[1]}"]
Any suggestion guys? thx a lot for your time
e
Does "dnsIpAddresses" have to be
string[]
? Can it be
Inpput<string[]>
because then you could just pass barDirectory.dnsIpAddresses directly probably