Skip to content

Commit

Permalink
Merge pull request #21337 from PatMyron/patch-1
Browse files Browse the repository at this point in the history
provider: cn-northwest-1 (Ningxia) hostedZoneID
  • Loading branch information
ewbankkit committed Oct 18, 2021
2 parents 3c5c546 + 24aed6d commit 4a8bb5c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/service/s3/hosted_zones.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ import (
"github.com/aws/aws-sdk-go/aws/endpoints"
)

// This list is copied from
// http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints
// It currently cannot be generated from the API json.
// See https://docs.amazonaws.cn/en_us/general/latest/gr/rande.html#s3_website_region_endpoints
// See https://docs.aws.amazon.com/pt_br/govcloud-us/latest/ug-east/using-govcloud-endpoints.html
// See https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-endpoints.html
// See https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_website_region_endpoints.
var hostedZoneIDsMap = map[string]string{
endpoints.AfSouth1RegionID: "Z11KHD8FBVPUYU",
endpoints.ApEast1RegionID: "ZNB98KWMFR0R6",
Expand All @@ -22,6 +17,7 @@ var hostedZoneIDsMap = map[string]string{
endpoints.ApSoutheast1RegionID: "Z3O0J2DXBE1FTB",
endpoints.ApSoutheast2RegionID: "Z1WCIGYICN2BYD",
endpoints.CaCentral1RegionID: "Z1QDHH18159H29",
endpoints.CnNorthwest1RegionID: "Z282HJ1KT0DH03",
endpoints.EuCentral1RegionID: "Z21DNDUVLTQW6Q",
endpoints.EuNorth1RegionID: "Z3BAZG2TWCNX0D",
endpoints.EuSouth1RegionID: "Z3IXVV8C73GIO3",
Expand Down

0 comments on commit 4a8bb5c

Please sign in to comment.