green-musician-49057
05/18/2021, 3:47 PMpulumi.Secret
in golang? Do we have to use ApplyT to get convert the output to the right type?gentle-diamond-70147
05/18/2021, 4:23 PMpulumi.ToSecret(value)
to wrap a string as secret - https://www.pulumi.com/docs/intro/concepts/secrets/#programmatically-creating-secrets.green-musician-49057
05/18/2021, 5:05 PMParameters
is pulumi.StringMapInput
2. Passing that same secret into a aws.secretsversion secretstring, via something like the key-value pairs example here https://www.pulumi.com/docs/reference/pkg/aws/secretsmanager/secretversion/#key-value-pairs
(We're migrating away from cloudformation and envvars, I swear 😅 )gentle-diamond-70147
05/18/2021, 6:46 PMgreen-musician-49057
05/18/2021, 6:58 PMmyVarSecret.(pulumi.StringOutput)
That's the missing piece of the puzzle that I was looking for!! Thank you