@important-jackal-88836 in situations like that, I usually just embed the stack’s name. (e.g.
pulumi.getStackName()
IIRC.) That is a stable value that will remain constant across deployments. If that doesn’t work, you could specify a random number generator seed in your Pulumi config.