Skip to content

Commit

Permalink
Merge pull request #1240 from hashicorp/f-ap-southeast-7
Browse files Browse the repository at this point in the history
New AWS Region: `ap-southeast-7` (Thailand)
  • Loading branch information
ewbankkit authored Jan 8, 2025
2 parents 5043040 + 34d45ba commit 2ab2a01
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 99 deletions.
3 changes: 1 addition & 2 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
package endpoints

const (
// AWS Standard global region.
AwsGlobalRegionID = "aws-global"
AwsGlobalRegionID = "aws-global" // AWS Standard global region.
)
167 changes: 74 additions & 93 deletions endpoints/endpoints_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions internal/generate/endpoints/output.go.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
// All known partition IDs.
const (
{{- range .Partitions }}
// {{ .Name }}
{{ .ID | IDToTitle}}PartitionID = "{{ .ID }}"
{{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" // {{ .Name }}
{{- end }}
)

Expand All @@ -22,8 +21,7 @@ const (
{{- range .Partitions }}
// {{ .Name }} partition's Regions.
{{- range .Regions }}
// {{ .Description }}
{{ .ID | IDToTitle}}RegionID = "{{ .ID }}"
{{ .ID | IDToTitle}}RegionID = "{{ .ID }}" // {{ .Description }}
{{- end }}
{{- end }}
)
Expand Down

0 comments on commit 2ab2a01

Please sign in to comment.