For C1W4, anyone is seeing: "failed to upload state: operation error S3: PutObject" error

The error appeared while creating a vector DB.
Following the suggestion from the terraform:

Error: Failed to persist state to backend
│ 
│ The error shown above has prevented Terraform from writing the updated state to the configured backend. To allow for recovery, the state has been written to the file "errored.tfstate" in the current
│ working directory.
│ 
│ Running "terraform apply" again at this point will create a forked state, making it harder to recover.
│ 
│ To retry writing this state, use the following command:
│     terraform state push errored.tfstate

and then running apply seems to let the process proceed.
Not sure if this the right course of action, though.

Hi @Peter_Litvak ,

I was not able to reproduce this issue myself, but I will let our engineers know about it. To confirm, did you experience this issue during step 2.4 when running terraform plan? Were you able to complete the rest of the labs and get full marks for it?

Jess

Yes, it was the step to create a vector db. Following the suggestion in the error output and then running apply again seems to allow everything to complete as expected.

I am also having this problem, though it didn’t mention any sort of terraform state push.

Our engineers are aware of this issue and will continue to investigate. In the meantime, please continue on with the terraform apply step as this doesn’t seem to be affecting the rest of the lab. Let me know if you have any other questions.