elegant-carpet-8859
06/02/2021, 10:33 PMconfig.requireSecret('gitlabRunnerRegistrationToken')
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-68599
06/02/2021, 10:35 PMcloudinit
provider:
https://www.pulumi.com/docs/reference/pkg/cloudinit/getconfig/
you'll have to use an apply
to build the data thoughelegant-carpet-8859
06/02/2021, 10:35 PMlittle-cartoon-10569
06/02/2021, 11:27 PM