Skip to content

Commit 78777b6

Browse files
authored
add implicit global region to internal partition metadata (#2688)
1 parent 077df5d commit 78777b6

File tree

4 files changed

+78
-46
lines changed

4 files changed

+78
-46
lines changed

Diff for: .changelog/94ed40ed612c4d18b9acc033473afc08.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "94ed40ed-612c-4d18-b9ac-c033473afc08",
3+
"type": "feature",
4+
"description": "Add implicit global region to internal endpoint resolution metadata.",
5+
"modules": [
6+
"."
7+
]
8+
}

Diff for: internal/endpoints/awsrulesfn/internal/partition/codegen.go

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: internal/endpoints/awsrulesfn/partition.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ type Partition struct {
1212

1313
// PartitionConfig provides the endpoint metadata for an AWS region or partition.
1414
type PartitionConfig struct {
15-
Name string `json:"name"`
16-
DnsSuffix string `json:"dnsSuffix"`
17-
DualStackDnsSuffix string `json:"dualStackDnsSuffix"`
18-
SupportsFIPS bool `json:"supportsFIPS"`
19-
SupportsDualStack bool `json:"supportsDualStack"`
15+
Name string `json:"name"`
16+
DnsSuffix string `json:"dnsSuffix"`
17+
DualStackDnsSuffix string `json:"dualStackDnsSuffix"`
18+
SupportsFIPS bool `json:"supportsFIPS"`
19+
SupportsDualStack bool `json:"supportsDualStack"`
20+
ImplicitGlobalRegion string `json:"implicitGlobalRegion"`
2021
}
2122

2223
type RegionOverrides struct {

Diff for: internal/endpoints/awsrulesfn/partitions.go

+58-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)