mapbox / cloudfriend

Helper functions for assembling CloudFormation templates in JavaScript
ISC License
69 stars 9 forks source link

Do not use AWS::URLSuffix for some services #57

Closed rclark closed 5 years ago

rclark commented 5 years ago

The cloudformation pseudo parameter AWS::URLSuffix resolves to:

However, from the perspective of creating IAM roles, some AWS services in China regions use .com.cn, and some do not. This is not documented well (or maybe at all).

This PR calls out a set of known service where using AWS::URLSuffix in a China region would result in an invalid service URL.

fixes #56