scaleway / terraform-provider-scaleway

Terraform Scaleway provider
https://www.terraform.io/docs/providers/scaleway/
Mozilla Public License 2.0
199 stars 125 forks source link

Error: couldn't read bucket objects: SerializationError: failed to decode REST XML response #2735

Open mrohlof-protofy opened 2 months ago

mrohlof-protofy commented 2 months ago

Community Note

Terraform Version

1.8.3

Affected Resource(s)

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.

Laure-di commented 2 months ago

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.