Skip to content

Conversation

@Wrede
Copy link
Member

@Wrede Wrede commented Sep 15, 2025

Make boto3 bucket create work with aws envs

@github-actions github-actions bot added the patch label Sep 15, 2025
@Wrede Wrede changed the title add config to create bucket and get region from AWS envs Feature/SK-000 | Add config to create bucket and get region from AWS envs Sep 15, 2025
@Wrede Wrede requested a review from Copilot September 15, 2025 09:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the boto3 S3 repository to better work with AWS environments by adding support for AWS environment variables and fixing bucket creation configuration. The changes prioritize AWS environment variables for region configuration and ensure bucket creation uses the proper location constraint.

  • Add support for AWS_REGION and AWS_DEFAULT_REGION environment variables
  • Update region configuration priority to check environment variables first, then config, then default
  • Fix bucket creation to include LocationConstraint configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Wrede Wrede added minor and removed patch labels Sep 15, 2025
@github-actions github-actions bot added the docs label Sep 15, 2025
@Wrede Wrede merged commit ebfbd20 into master Sep 15, 2025
26 of 27 checks passed
@Wrede Wrede deleted the muddy-moon branch September 15, 2025 09:52
@Wrede Wrede removed the docs label Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants