Skip to content

Commit 2ab2a01

Browse files
authored
Merge pull request #1240 from hashicorp/f-ap-southeast-7
New AWS Region: `ap-southeast-7` (Thailand)
2 parents 5043040 + 34d45ba commit 2ab2a01

File tree

3 files changed

+77
-99
lines changed

3 files changed

+77
-99
lines changed

endpoints/endpoints.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
package endpoints
55

66
const (
7-
// AWS Standard global region.
8-
AwsGlobalRegionID = "aws-global"
7+
AwsGlobalRegionID = "aws-global" // AWS Standard global region.
98
)

endpoints/endpoints_gen.go

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

internal/generate/endpoints/output.go.gtpl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import (
1212
// All known partition IDs.
1313
const (
1414
{{- range .Partitions }}
15-
// {{ .Name }}
16-
{{ .ID | IDToTitle}}PartitionID = "{{ .ID }}"
15+
{{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" // {{ .Name }}
1716
{{- end }}
1817
)
1918

@@ -22,8 +21,7 @@ const (
2221
{{- range .Partitions }}
2322
// {{ .Name }} partition's Regions.
2423
{{- range .Regions }}
25-
// {{ .Description }}
26-
{{ .ID | IDToTitle}}RegionID = "{{ .ID }}"
24+
{{ .ID | IDToTitle}}RegionID = "{{ .ID }}" // {{ .Description }}
2725
{{- end }}
2826
{{- end }}
2927
)

0 commit comments

Comments
 (0)