https://pulumi.com logo
#automation-api
Title
# automation-api
g

gorgeous-accountant-60580

09/26/2022, 3:21 PM
After having run a stack up, which failed, I’m left with a Cloud SQL database in GCP which is not referenced in the stack. I try to do a stack refresh, but it doesn’t appear to help, as I get a 409 from GCP on stack up afterwards. How is it possible to recover in this state?
l

little-cartoon-10569

09/26/2022, 8:14 PM
Leave the code in, find the resource's import ID (it's documented at the bottom of the registry API page for it), and add the
import
opt to the code. Run
pulumi up
. Once the resource is imported, remove the
import
opt.
2 Views