Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Epic] Support declaring that a resource should be created only if it does not already exist #16189

Open
4 tasks
justinvp opened this issue May 13, 2024 · 0 comments
Labels
kind/epic Large new features or investments

Comments

@justinvp
Copy link
Member

There are some cases where there are cloud resources that are scoped to an account - like ServiceLinkedRoles in AWS or Project Services in GCP. Individual deployments will frequently want to ensure the resource exists - but do not want to manage it long term. For example:

  1. If it exists, read it in so it can be referenced
  2. If it does not exist, create it
  3. When the Pulumi resource is deleted - don't remove from the cloud provider

Today, this can't quite be expressed in Pulumi. In principle it would be possible to provide a ResourceOption which would allow expressing this.

Related issues: #3388

Design

  • Write design doc

Implementation Plan

TODO

Announce

  • Documentation updates for this new capability
  • Write blog post
  • 🍦
@justinvp justinvp added the kind/epic Large new features or investments label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/epic Large new features or investments
Projects
None yet
Development

No branches or pull requests

1 participant