Skip to content

fix: use s3_use_path_style in S3 Terraform tutorial#495

Open
HarshCasper wants to merge 1 commit intomainfrom
harshmishra/doc-113
Open

fix: use s3_use_path_style in S3 Terraform tutorial#495
HarshCasper wants to merge 1 commit intomainfrom
harshmishra/doc-113

Conversation

@HarshCasper
Copy link
Member

@HarshCasper HarshCasper commented Mar 16, 2026

@cloudflare-workers-and-pages
Copy link

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1291ec6
Status: ✅  Deploy successful!
Preview URL: https://44f06065.localstack-docs.pages.dev
Branch Preview URL: https://harshmishra-doc-113.localstack-docs.pages.dev

View logs

We can do this by specifying the `endpoints` parameter for each service, that we intend to use.
We can do this by specifying the `endpoints` parameter for each service that we intend to use.

When using LocalStack, set `s3_use_path_style = true` so that S3 requests use path-style URLs, which LocalStack expects for the local endpoint.

Choose a reason for hiding this comment

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

Hi I'm a bit confused here. The original setting of s3_use_path_style = false did work - are you saying true is the more correct setting?

Btw my original reported issue is more the inconsistency between the code examples in our tutorial docs vs that's in our sample repos (e.g. see https://github.com/localstack-samples/localstack-terraform-samples/blob/master/s3-static-website/provider.tf) - it seems to me when we updated tutorial docs the corresponding sample repos is not updated.

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.

3 participants