terraform-provider-scaleway
terraform-provider-scaleway copied to clipboard
Error: couldn't read bucket objects: SerializationError: failed to decode REST XML response
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
1.8.3
Affected Resource(s)
- scaleway_object_bucket
Terraform Configuration Files
resource "scaleway_object_bucket" "img_s3_bucket" {
name = "images-${terraform.workspace}"
acl = "private"
region = "nl-ams"
}
Debug Output
https://gist.github.com/mrohlof-protofy/64a3b9571f39564304274e5894558f38
Expected Behavior
I already have a bucket. I run terraform plan. I want the plan to tell me no resources have to be changed.
Actual Behavior
The plan fails with above message. Root cause could be a request against https://images-stage.s3.nl-ams.scw.cloud/?lifecycle= which in turn produces a NoSuchLifecycleConfiguration error. See more detail in gist.
Hello,
We are currently working on an issue with the debug flag and object. Could you please provide the error message you're seeing without the debug flag enabled?
Thank you very much.
Hello,
Just following up—do you have any updates on this issue? Have you tried updating your Terraform provider to the latest version?
I attempted to reproduce the issue on my end but was not able to. Here are the steps I followed:
- Manually created an object bucket
- Used the same Terraform configuration
- Ran terraform init
- Created a new workspace with terraform workspace new stage
- Import the resource
- Ran terraform plan Everything worked as expected, and no error occurred.
Since I couldn't reproduce the issue, I'm going to close this for now. Feel free to reopen it if the problem persists or if you have more information to share.