damp-ability-50980
05/16/2026, 10:48 AMstage/), each containing its own Pulumi.yaml and index.ts. Project name is infra.
In GitHub Actions, I build/push ECS images and run:
pulumi config set api2ImageTag <image-tag>
pulumi up
In my Pulumi code:
const config = new pulumi.Config();
const imageTag = config.get("api2ImageTag") || "latest";
I can see infra:api2ImageTag in Pulumi Cloud UI after deployment, but when I run:
pulumi config
locally, it only shows the vars already defined in my local Pulumi.yaml files and does not fetch api2ImageTag from Pulumi Cloud.
Because of that, config.get("api2ImageTag") returns undefined and preview tries to revert the ECS image back to latest.
Is there a way to make pulumi config / new pulumi.Config().get() fetch these dynamically added config values directly from Pulumi Cloud ?echoing-dinner-19531
05/16/2026, 12:16 PMpulumi config refresh which fetches the config values used from the last deployment and updates the local file with them.damp-ability-50980
05/17/2026, 12:27 PMpulumi.env.yaml file and does not add it to existing Pulumi.yaml file. Also, how do I achieve the same outcome when I run deployments from pulumi cloudechoing-dinner-19531
05/17/2026, 1:18 PMechoing-dinner-19531
05/17/2026, 1:19 PMsame outcome when I run deployments from pulumi cloudGenerally by setting the config and commiting it so it's in the source code that deployments pulls down to run
damp-ability-50980
05/17/2026, 5:32 PMlittle-cartoon-10569
05/17/2026, 9:04 PMI have a monorepo setup with separate env folders (like stage/), each containing its own Pulumi.yaml and index.ts. Project name is infra.This sounds like the source of the problem. If you have one Pulumi project, then you have one Pulumi.yaml file. If the folders contain different index.ts files, then you have different projects.