orange-electrician-25669
08/31/2020, 10:33 AMgentle-diamond-70147
08/31/2020, 8:56 PMApplyString
to manipulate the value of an output before using it as an input to another resource - e.g. https://www.pulumi.com/docs/intro/concepts/programming-model/#apply.
You cannot unfortunately use a resource output as the pulumi resource name (the second argument to NewResource(ctx, name, ...)
). That must be a literal string.second Q all my resources are add suffix i try to disable it but is not working any one know how ?Can you share your code? If you're explicitly setting a
Name
property then pulumi should use this and not add the random suffix. For some resources, such as S3 buckets, the property name is different - e.g. Bucket
.