Skip to content

chore: Add a note about region to S3 guide#1509

Open
JorTurFer wants to merge 2 commits into
stackitcloud:mainfrom
JorTurFer:update-aws-docs
Open

chore: Add a note about region to S3 guide#1509
JorTurFer wants to merge 2 commits into
stackitcloud:mainfrom
JorTurFer:update-aws-docs

Conversation

@JorTurFer
Copy link
Copy Markdown
Contributor

@JorTurFer JorTurFer commented Jun 5, 2026

Description

Working with multiple regions within the same terraform execution, I found that the underlaying AWS client caches the connection by the region, and mixing region (even using multiple providers) results in a calls mixing the region credentials when the resource doesn't set region.

Checklist

  • Docs are up-to-date: make generate-docs (will be checked by CI)

Signed-off-by: Jorge Turrado <jorge.turrado@digits.schwarz>
@JorTurFer JorTurFer requested a review from a team as a code owner June 5, 2026 06:43

This guide outlines the process of utilizing the [AWS Terraform Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) alongside the STACKIT provider to create and manage STACKIT Object Storage (S3 compatible) resources.

>Note: AWS Provider uses the region as cache key to manage the connection efficiently. Therefore, the region must be set to the desired one in all the resources explicitly to ensure proper functionality when multiple regions are used.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>Note: AWS Provider uses the region as cache key to manage the connection efficiently. Therefore, the region must be set to the desired one in all the resources explicitly to ensure proper functionality when multiple regions are used.
> Note: AWS Provider uses the `region` as cache key to manage the connection efficiently. Therefore, the `region` must be set to the desired one in all the resources explicitly to ensure proper functionality when multiple regions are used.

fix
Signed-off-by: Jorge Turrado <jorge.turrado@digits.schwarz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants