Skip to content

Add missing AWS regions to the Region enum - #6613

Merged
corymhall merged 1 commit into
masterfrom
jkodroff/add-ap-southeast-6
Aug 18, 2026
Merged

Add missing AWS regions to the Region enum#6613
corymhall merged 1 commit into
masterfrom
jkodroff/add-ap-southeast-6

Conversation

@jkodroff

Copy link
Copy Markdown
Member

Motivation

provider/types.go carries a hand-maintained Region enum that is meant to stay in sync with the region list in aws-sdk-go-base. It had drifted: five regions were missing.

#6208 asked for ap-southeast-6. While confirming it, I diffed the whole enum against aws-sdk-go-base v2.0.0-beta.73 — the version pinned in provider/go.mod — and found four more gaps.

Region Partition Name
ap-southeast-6 aws Asia Pacific (New Zealand)
eusc-de-east-1 aws-eusc AWS European Sovereign Cloud (Germany)
us-isob-west-1 aws-iso-b US ISOB West
us-isof-east-1 aws-iso-f US ISOF East
us-isof-south-1 aws-iso-f US ISOF South

This also adds two partition groups the enum did not previously cover at all: aws-eusc and aws-iso-f.

Note that #6208's title says ap-southeast-6 is "Asia Pacific - Malaysia" — that's ap-southeast-5. ap-southeast-6 is Auckland, New Zealand, as a commenter on the issue points out, and that's the name used here.

Verification

A throwaway test walked every value in the enum and asserted that both endpoints.PartitionForRegion and upstream's names.PartitionForRegion resolve it to the same partition. All 46 pass, including the five new ones:

ap-southeast-6   -> aws
eusc-de-east-1   -> aws-eusc
us-isob-west-1   -> aws-iso-b
us-isof-east-1   -> aws-iso-f
us-isof-south-1  -> aws-iso-f

The enum is now exactly the upstream set — no missing regions, no extras, no duplicate value or name.

Scope

The Region enum is a schema-level convenience type; listing a region does not by itself grant access. The ISO/ISOF and EUSC partitions need their own credentials and endpoint configuration — already true of the us-iso-* and eu-isoe-west-1 entries this enum has carried for a while, so nothing new is implied.

Adding enum values is additive and non-breaking in every SDK language.

Related

#4406 tracks generating this enum automatically rather than maintaining it by hand. This PR is exactly the toil that issue describes, so it stays open.

Fixes #6208

Syncs `provider/types.go` with the region list in aws-sdk-go-base
v2.0.0-beta.73, the version pinned in provider/go.mod. Five regions were
missing:

  ap-southeast-6   Asia Pacific (New Zealand)          aws
  eusc-de-east-1   AWS European Sovereign Cloud (DE)   aws-eusc
  us-isob-west-1   US ISOB West                        aws-iso-b
  us-isof-east-1   US ISOF East                        aws-iso-f
  us-isof-south-1  US ISOF South                       aws-iso-f

This adds two partition groups the enum did not previously cover,
aws-eusc and aws-iso-f.

The Region enum is a schema-level convenience type; listing a region does
not by itself grant access. The ISO/ISOF and EUSC partitions require their
own credentials and endpoint configuration, as is already the case for the
us-iso-* and eu-isoe-west-1 entries.

Fixes #6208
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@unblocked unblocked Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No issues found

About Unblocked

Unblocked has been set up to automatically review your team's pull requests to identify genuine bugs and issues.

📖 Documentation — Learn more in our docs.

💬 Ask questions — Mention @unblocked to request a review or summary, or ask follow-up questions.

👍 Give feedback — React to comments with 👍 or 👎 to help us improve.

⚙️ Customize — Adjust settings in your preferences.

@jkodroff
jkodroff requested a review from corymhall August 18, 2026 00:54
@github-actions

Copy link
Copy Markdown
Contributor

Does the PR have any schema changes?

Generated by schema-tools v0.8.1.

Looking good! No breaking changes found.
No new resources/functions/types.

Maintainer note: consult the runbook for dealing with any breaking changes.

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 15.85%. Comparing base (3839787) to head (de3e522).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6613   +/-   ##
=======================================
  Coverage   15.85%   15.85%           
=======================================
  Files         376      376           
  Lines       92842    92842           
=======================================
  Hits        14724    14724           
  Misses      78096    78096           
  Partials       22       22           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@corymhall
corymhall merged commit 30ddf87 into master Aug 18, 2026
35 checks passed
@corymhall
corymhall deleted the jkodroff/add-ap-southeast-6 branch August 18, 2026 09:09
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v7.43.0.

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.

Add support for ap-southeast-6 (Asia Pacific - Malaysia) region

3 participants