I am following the ECS CLI tutorial.
When I run the first command:
ecs-cli up --keypair xxxxx.pem --capability-iam --size 2 --instance-type t2.medium
I get the following error:
ERRO[0040] Failure event reason="Parameter validation failed: parameter value transin-ravi-west-1.pem for parameter name KeyName does not exist. Rollback requested by user." resourceType="AWS::CloudFormation::Stack"
ERRO[0040] Error executing 'up': Cloudformation failure waiting for 'CREATE_COMPLETE'. State is 'ROLLBACK_COMPLETE'
I made sure the regions are set up properly. It still does not work. (as suggested here)
On the ecs-cli command, have you tried to pass the key name on the --keypair parameter instead of the reference for your .pem file?