How to reset a corrupt pulumi state in s3?
# python
a
How to reset a corrupt pulumi state in s3?
w
It depends on how its corrupted, but you might need to manually edit the JSON. Before jumping to that, however, give
pulumi state delete
a try first.
s
Do you have versioning enabled on the S3 bucket? If so, backup the current version offline and trying to revert may be worthwhile, depending on how big/valuable the last update was
This may also be relevant - old issue but still open on GCP / Azure at least https://github.com/pulumi/pulumi/issues/4679