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
Lines changed: 8 additions & 0 deletions
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+
}

internal/endpoints/awsrulesfn/internal/partition/codegen.go

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/endpoints/awsrulesfn/partition.go

Lines changed: 6 additions & 5 deletions
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 {

internal/endpoints/awsrulesfn/partitions.go

Lines changed: 58 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)