great-sunset-35507/22/2021, 9:41 AM
- I found several existing issues about this so I'm not sure I should even use it. One of the issues: https://github.com/pulumi/pulumi/issues/6155 With pulumi resource you have to provide
and if nothing else is set, this is used in the name of resource. eg. SNS Topic:
Results in the resource name
sns.Topic( "my-topic", )
. - this at least gives the reference between actual resource and pulumi resource However when I add the
it overrides the resource name completely.
Results in the resource name:
sns.Topic( "my-topic", name_prefix='my-prefix-' )
Is there any documentation about this behaviour? I assume this is inherited from terraform provider and may be resoveld with pulumi native provider which I heard about being in development, correct? Is it better for now to use
instead of name_prefix?
pulumi resource name
great-sunset-35507/23/2021, 7:59 AM