aws-samples / ec2-classic-resource-finder

This script enables the identification of resources running in Amazon EC2 Classic
MIT No Attribution
131 stars 82 forks source link

China region is not supported #29

Open mn3m0nic opened 2 years ago

mn3m0nic commented 2 years ago

China AWS regions are not supported by Python and Shell scripts. When I added specific to China regions - it not worked also, probably API should be updated as well. Not sure.

declare -a regions=('cn-north-1' 'cn-northwest-1')
    classicregions = ('cn-north-1', 'cn-northwest-1',)

Expected behavior

Lists contain Classic resources.

Current output

All lists are empty.

error.log file


An error occurred (UnsupportedOperation) when calling the DescribeVpcClassicLink operation: The functionality you requested is not available in this region.

Could not connect to the endpoint URL: "https://datapipeline.cn-north-1.amazonaws.com.cn/"

Could not connect to the endpoint URL: "https://opsworks.cn-north-1.amazonaws.com.cn/"

An error occurred (UnsupportedOperation) when calling the DescribeVpcClassicLink operation: The functionality you requested is not available in this region.

Could not connect to the endpoint URL: "https://datapipeline.cn-northwest-1.amazonaws.com.cn/"

Could not connect to the endpoint URL: "https://opsworks.cn-northwest-1.amazonaws.com.cn/"