gridscale / terraform-provider-gridscale

Terraform gridscale provider
https://registry.terraform.io/providers/gridscale/gridscale/latest/docs
Mozilla Public License 2.0
12 stars 11 forks source link

Confusing behavior when creating gridscale_object_storage_bucket with scoped API tokens #403

Open FloSchick opened 1 week ago

FloSchick commented 1 week ago

Hi there,

Currently, the gridscale_object_storage_bucket resource defaults to the S3 host gos3.io, which corresponds to the fra2 location.

This leads to the following confusing behavior:

If I use an API token scoped to another location (e.g., fra3), the bucket is still created in fra2 if not set in the resource.

This is unexpected because:

Can you clarify if this behavior is intentional or if adjustments are planned to align bucket creation with the API token’s region?

nvthongswansea commented 1 week ago

@FloSchick I will take a look asap.