adorable-action-51248
04/03/2020, 9:20 AMgenId
prefixing all your ids with the environment. i.e. prod-<id>
but then later you change your mind and you want to use <id>-prod
instead and change genId
i know there are aliases, however, these are not really helpful when you use a function genId
to generate these ids.
For this change you would need to go through all the code and add an aliases
section, and add the results of the old version of genId
.
Is there a better way ?
Right now the quickest solution i found without using aliases is to call pulumi destroy
. Thankfully i don’t care about uptime at the moment.faint-table-42725
04/03/2020, 4:32 PM