Skip to content

Commit

Permalink
fix(endpoints): fix FIPS endpoints for CloudFormation (#4325)
Browse files Browse the repository at this point in the history
* fix(endpoints): fix FIPS endpoints for CloudFormation

The SDK currently uses the following FIPS endpoint for CloudFormation
in Gov regions:

```
cloudformation-fips.us-gov-west-1.amazonaws.com
```

According to the [FIPS endpoint reference](https://aws.amazon.com/compliance/fips/)
it should be:

```
cloudformation.us-gov-west-1.amazonaws.com
```

* Add change
  • Loading branch information
rix0rrr committed Jan 12, 2023
1 parent cb16a61 commit d157e69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/bugfix-Endpoints-edafef26.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "bugfix",
"category": "Endpoints",
"description": "Use correct FIPS endpoint for CloudFormation in GovCloud"
}
1 change: 1 addition & 0 deletions lib/region_config_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"us-gov-*/runtime.lex": "fips.runtime.lex",
"us-gov-*/acm-pca": "fipsWithServiceOnly",
"us-gov-*/batch": "fipsWithServiceOnly",
"us-gov-*/cloudformation": "fipsWithServiceOnly",
"us-gov-*/config": "fipsWithServiceOnly",
"us-gov-*/eks": "fipsWithServiceOnly",
"us-gov-*/elasticmapreduce": "fipsWithServiceOnly",
Expand Down

0 comments on commit d157e69

Please sign in to comment.