pulumi / pulumi-yaml

YAML language provider for Pulumi
Apache License 2.0
39 stars 12 forks source link

Add support for the `deletedWith` resource option #437

Closed justinvp closed 1 year ago

justinvp commented 1 year ago

This adds support for the deletedWith resource option that has recently been added to the Node.js, Python, .NET, and Go SDKs.

In many cases there is no need to deleted resources if the container resource is going to be deleted as well.

A few examples:

This helps with:

To avoid deleting contained resources, set the deletedWith resource option to the container resource.

Fixes #432

aq17 commented 1 year ago

@justinvp I added a small commit and associated PR in pu/pu that should allow the option to be passed on pulumi convert