The cloudformation pseudo parameter AWS::URLSuffix resolves to:
amazonaws.com.cn in China regions
amazonaws.com everywhere else
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.
The cloudformation pseudo parameter
AWS::URLSuffix
resolves to:amazonaws.com.cn
in China regionsamazonaws.com
everywhere elseHowever, 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