I send this on the command line (I omit all other parameters that I know to work)
aws cloudformation create-stack ... --parameters ParameterKey=Region,ParameterValue=us-east-1
This gives:
Unable to construct an endpoint for cloudformation in region None
If I send the same exact parameters using https://console.aws.amazon.com/cloudformation web ui, it works.
How to specify an area using aws.exe for Windows? The .json file that I use as a template even has it by default, but it still doesn't accept it if I omit the scope from the command line
"Region": {"Type": "String", "Description": "Which region is launched", "Default": "us-east-1", "AllowedValues": ["us-east-1", " us-west-1 "," us-west-2 "," eu-west-1 "," ap-northeast-1 ",]}
in debug mode I get ...
File "awscli\clidriver.pyc", line 206, in main File "awscli\clidriver.pyc", line 354, in __call__ File "awscli\clidriver.pyc", line 461, in __call__ File "awscli\clidriver.pyc", line 555, in invoke File "botocore\service.pyc", line 161, in get_endpoint File "botocore\endpoint.pyc", line 265, in create_endpoint File "botocore\regions.pyc", line 67, in construct_endpoint UnknownEndpointError: Unable to construct an endpoint for cloudformation in region None 2014-10-27 22:52:38,631 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255
amazon-web-services amazon-cloudformation
Mike
source share