https://pulumi.com logo
#google-cloud
Title
# google-cloud
c

clever-byte-21551

06/03/2021, 5:32 AM
Did anybody try to destroy a stack containing a CryptoKey? I’m unable to do that AT ALL, the object is in “destroyed” state in GCP but it’s never deleted (from my understanding it can’t be deleted) https://github.com/pulumi/pulumi-gcp/issues/587
b

billowy-army-68599

06/03/2021, 5:46 AM
It can't be deleted, no - this is a limitation of the upstream GCP API. It does look like we aren't handling this well, thanks for the bug report
c

clever-byte-21551

06/03/2021, 6:51 AM
@billowy-army-68599 How can I overcome this at the moment? I need to have the ability to destroy these stacks without any manual work (i.e delete the CrytpoKey from the state)
@billowy-army-68599 Any update regarding the issue? I’m unable to destroy GCP stacks at the moment 😕
b

billowy-army-68599

06/22/2021, 8:45 AM
I don't have an update here I'm afraid, you'll have to
pulumi state delete
the key