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

Support Replacement of Resources #772

Open
blakeromano opened this issue Sep 13, 2024 · 0 comments
Open

Support Replacement of Resources #772

blakeromano opened this issue Sep 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@blakeromano
Copy link

What problem are you facing?

Crossplane currently doesn't support in-place replacement of resources. Currently you'd need to do things like https://github.com/haarchri/configuration-aws-tgw-routes/blob/main/apis/composition.yaml#L28 in your composition to support automatic replacement.

How could Crossplane help solve your problem?

Crossplane could open up an option to have a Replace or Replacement managementPolicy which would allow Crossplane Runtime to essentially run a replacement on that resource.

In the Upjet providers this probably means checking if Replace managementPolicy is set then allowing for TF to do a replacement update. This will probably need provider specific implementations for other providers that are not TF based.

@blakeromano blakeromano added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant