pulumi / pulumi-hugo

A Hugo module containing content and layouts used on pulumi.com, including hand-authored docs, the Pulumi blog, and Learn Pulumi.
Apache License 2.0
32 stars 145 forks source link

Deletion failed because file exist and force delete is no set #3206

Closed JeanJacques92 closed 1 year ago

JeanJacques92 commented 1 year ago

File: themes/default/content/docs/clouds/gcp/get-started/destroy-stack.md image

danielrbradley commented 1 year ago

Hi @JeanJacques92 a couple of questions to understand how you got to the error you're seeing:

  1. During the destroy, did you see the index.html BucketObject get deleted before Pulumi attempted to delete the bucket?
  2. Did you create additional files within the bucket before trying to delete it?
JeanJacques92 commented 1 year ago

Hi @danielrbradley, I think, I followed the quickstart start guide.

  1. There was still an index.html file in the bucket.
  2. I did not add any other files to the bucket I can try again from scratch to confirm the result
interurban commented 1 year ago

@danielrbradley one thing to note from @cnunciato is Christian did a major update to the GCP getting started guide; if it was a docs related bug I hope this is solved now. Any sense if we can close this issue as resolved?

danielrbradley commented 1 year ago

Yes, @cnunciato assuming you've re-tested this process while re-working the GCP getting started guide and this issue didn't occur any more, feel free to close this as completed.

cnunciato commented 1 year ago

Yep, this issue was fixed with https://github.com/pulumi/pulumi-hugo/pull/3221!