pulumi-cdk icon indicating copy to clipboard operation
pulumi-cdk copied to clipboard

Support Stacks that don't create resources

Open yoejigu opened this issue 9 months ago • 0 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

There is a scenerio that we are encountering where we have a network stack that doesn't create any resouces but instead does a lookup for the VPC arn so that other stack can make use of that value. At the moment, Pulumi throws an error that prevents us from deploying the stacks. It would be great if the deployment would be allowed to proceed with maybe a warning as opposed to preventing deployment completely.

Here is the output of the error that we are seeing:

<ref *1> Error: Cannot read manifest at '/private/var/folders/gz/z2wgnbl577g0y6jhxkqp5_kr0000gp/T/cdk.outc7IBWS/manifest.json': Error: Could not process CDK Cloud Assembly directory: Error: CloudFormation template has no resources!

Affected area/feature

Pulumi CDK

yoejigu avatar Mar 06 '25 18:03 yoejigu