https://pulumi.com logo
#yaml
Title
# yaml
g

gifted-gigabyte-53859

11/14/2023, 7:05 AM
A different question: is there a way to refer to 'the current resource' in pulumi? like
${this.properties.name}
instead of
${unique-name-of-reqsource.properties.name}
e

echoing-dinner-19531

11/15/2023, 8:26 AM
No, and in general this probably wouldn't be well defined? The current resource doesn't exist yet when constructing it so you'd be referring to the input args but that's also what your defining so you could introduce loops in the definition.
g

gifted-gigabyte-53859

11/16/2023, 3:36 AM
True