Have any of you run into an issue where you use Pu...
# general
p
Have any of you run into an issue where you use Pulumi to create a GCP project, and it succeeds, but Pulumi hangs forever. Then if you cancel it, on restart, it complains that the project already exists. How do I work around that?
l
One likely explanation for the hanging is that your credentials expired during the
up
.
To get the created resources recognized by Pulumi, you can add the
import
opt to the resources, and run
pulumi up
again. The value for the
import
opt is described at the bottom of each resource's doc page, in the registry.
After they're imported, remove the
import
opt from your code.
p
okay thanks, i’ll take that for a spin