Skip to content

Commit

Permalink
Generate Dualstack endpoints for aws-cn and aws-us-gov partitions (#3332
Browse files Browse the repository at this point in the history
)
  • Loading branch information
skmcgrail authored May 21, 2020
1 parent 3e7bcd7 commit a72d6b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws/endpoints/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func decodeV3Endpoints(modelDef modelDefinition, opts DecodeModelOptions) (Resol
}

func custAddS3DualStack(p *partition) {
if p.ID != "aws" {
if !(p.ID == "aws" || p.ID == "aws-cn" || p.ID == "aws-us-gov") {
return
}

Expand Down
12 changes: 12 additions & 0 deletions aws/endpoints/defaults.go

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

0 comments on commit a72d6b5

Please sign in to comment.