elegant-carpet-885906/02/2021, 10:33 PM
as a string I'm having a devil of a time. Originally I was going to use Mustache to render a template, but that's out. Using pulumi.concat is gonna be really ugly if I need to concat part of the script and another part of the script around the value...anyone have an idea of how to do this? Basically I'm taking a 26 line bash script and I need to get a Pulumi secret value into the middle of it then pass it to userData on my DO droplet Pulumi object.
billowy-army-6859906/02/2021, 10:35 PM
provider: https://www.pulumi.com/docs/reference/pkg/cloudinit/getconfig/ you'll have to use an
to build the data though
elegant-carpet-885906/02/2021, 10:35 PM
little-cartoon-1056906/02/2021, 11:27 PM