Join Slack
Powered by
Q: Is there a way to make Pulumi insert auto-gener...
# general
a
alert-pencil-7400
05/07/2020, 12:36 PM
Q: Is there a way to make Pulumi insert auto-generated hex string in the middle of a resource name? So that, for example, instead of
package-385ac3
I could have
package-385ac3.zip
(in case with GCP
BucketObject
resource)
a
adamant-intern-63433
05/07/2020, 12:48 PM
AFAIK, this requires formatting the resource name manually and we use RandomString / RandomUuid from
https://www.pulumi.com/docs/reference/pkg/random/
to do that.
Open in Slack
Previous
Next