hi all! is it possible to get a config value from ...
# typescript
w
hi all! is it possible to get a config value from the state of my most recent deploy? so, for example, i'm storing my pulumi state in s3. one of the config values when i deploy is
imageTag
, which specifies the tag of a container image that i'm deploying. in my pulumi code, i'd like to read this config value to see what tag is currently deployed. is that possible?
found it! for anyone interested, this was the solution:
Copy code
const currentImageTag = new pulumi.StackReference(pulumi.getStack()).getOutputValue(
  'imageTag'
);
plus, making sure to export the image tag.
☝️ 1
🎉 1