Skip to content

App Framework: AWS S3 region extraction logic does not handle us-gov-west-1 #1567

Closed

Description

@chancepants

Please select the type of request

Bug

Tell us more

Describe the request
Update the awss3client to support us-gov-west-1. The region regex expects regions with 3 parts e.g. us-west-2 and fails to parse regions with 4 parts us-gov-west-1 https://github.com/splunk/splunk-operator/blob/main/pkg/splunk/client/awss3client.go#L64

Expected behavior
The app framework behaviors work as intended in us-gov-west-1

Splunk setup on K8S
A cluster configured with app repo endpoint: https://s3.us-gov-west-1.amazonaws.com

Reproduction/Testing steps
Attempt to install an app using a repo in us-gov-west-1

K8s environment
EKS version 1.28

Activity

  1. chancepants commented on Aug 26, 2025

    @chancepants
    Author

    I believe the existing regex will not work for China either as the domain ends in .cn https://docs.amazonaws.cn/en_us/aws/latest/userguide/endpoints-arns.html

  2. chancepants commented on Aug 26, 2025

    @chancepants
    Author

    looks like region is a supported volume param since 2.0 which will work around the issue.

  3. self-assigned this
    on Oct 21, 2025
  4. kasiakoziol commented on Aug 5, 2026

    @kasiakoziol
    Collaborator

    Hello @chancepants
    This was fixed as a part of #1602 and release in version 3.1.0 (https://github.com/splunk/splunk-operator/blame/3.1.0/pkg/splunk/client/awss3client.go#L65).
    Best regards,
    Kasia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions