Skip to content

Add "region" in the object storage relationship #5684

Description

@vjordan-psh

Priority

3 - Not urgent - can be addressed as team bandwidth permits

Where should the changes be made?

https://developer.upsun.com/docs/manage-resources/object-storage#connect-from-your-app

What exactly should be updated?

  • In the "Connect from your app" section (introduction)
    • Add a region field after scheme, host and port, with the value "S3 region for the service"
    • In the list "When configuring your S3 client, note two requirements:", make it three, and add a new item "region is required with the value <REGION> (from PLATFORM_RELATIONSHIP)"
  • In the "Example (Python, boto3)" section
    • Replace region_name="us-east-1", # Placeholder; not used. with region_name=endpoint['region'],
  • In the "Run S3 commands" section
    • Remove AWS_DEFAULT_REGION from the list of variables that "requires no real credentials".
    • "Use http://<HOST>:<PORT> as the endpoint URL, as described in Connect from your app." → "Use http://<HOST>:<PORT> as the endpoint URL, and AWS_DEFAULT_REGION=<REGION>, as described in Connect from your app."
    • In the terminal example: AWS_DEFAULT_REGION=fake \AWS_DEFAULT_REGION=<REGION> \

Optional: Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions