-
Notifications
You must be signed in to change notification settings - Fork 53
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
Unable to destroy stack with key ring #587
Comments
I also noticed that since they CryptoKey has rotation it still keeps rotating new keys which are not destroyed Really bad experience, is there a way to overcome this? |
This appears to be part of the intentional design of the upstream provider - as part of hashicorp/terraform-provider-google#3612 and related issues. We will need to revisit this experience as part of https://github.com/pulumi/pulumi-google-native. |
@lukehoban the issue you attached seems to mention this as fixed - TF is supposed to disable rotation and destroy all key materials and remove the keyring from the stack as it is. Pulumi doesn't do that.. is there a way to provide a fix for this? Saying it will be solved in a future provider refactor is nice but it can happen months from now. At the moment I'm unable to delete my GCP stacks unless I do them manually. This is critical for our system to be able to do these things automatically without faults. |
According to the documentation https://www.pulumi.com/registry/packages/gcp/api-docs/kms/keyring/#keyring pulumi should not try to delete the key ring.
I checked now and also still get googleapi: Error 400: The request cannot be fulfilled. using github.com/pulumi/pulumi-gcp/sdk/v6 v6.20.0 Any idea why the behavior is not aligned with the documentation ? |
Needs a repro to see if still applicable. |
Unfortunately, it looks like this issue hasn't seen any updates in a while. If you're still encountering this problem, could you leave a quick comment to let us know so we can prioritize it? |
I'd expect that if this is the state of the key pulumi will consider it as deleted.
At the moment I need to wait 24 hours before I can retry to destroy the stack
The text was updated successfully, but these errors were encountered: