high-grass-3103
08/01/2025, 10:51 AM${__dirname}/../assets/logo.png
. it's pointing to the same location, just didn't want a relative path. a side-problem is that it's Zitadel provider, which is a total mess, and it doesn't work. So I wanted to rollback.
Now when I run pulumi up
with the new path, the diff shows
~ zitadel:index/labelPolicy:LabelPolicy: (update)
[id=231695030580995897]
~ iconPath : "./assets/logo.png" => "${project root}/assets/logo.png"
but if DON'T approve, rollback the change in source code and run pulumi up
again, it shows
~ zitadel:index/labelPolicy:LabelPolicy: (update)
[id=231695030580995897]
~ iconPath : "${project root}/assets/logo.png" => "./assets/logo.png"
They can't be both right.
I can't refresh either because of https://github.com/pulumiverse/pulumi-zitadel/issues/31
I'm stuckhigh-grass-3103
08/01/2025, 10:53 AMhigh-grass-3103
08/01/2025, 10:54 AMechoing-dinner-19531
08/01/2025, 11:39 AMhigh-grass-3103
08/01/2025, 11:58 AMconst projectRoot = __dirname
, but that didn't work out well, because __dirname has a full absolute path, so it's not portable at all, and breaks state (reports state change if run on different machine).
I wanted to avoid relative path, because it's relative to where I run pulumi
instead or project rootechoing-dinner-19531
08/01/2025, 12:00 PMmain
in the Pulumi.yaml) before running your program