Category: CLI
-
CREATE_IN_PROGRESS when creating a certificate with CloudFormation
Hi everyone, I ran into a bit of an issue today while creating a certificate with CloudFormation. After kicking the stack off it ended up hanging on a step to create a domain verification entry in Route 53. I had used this script multiple times for creating a certificate for a subdomain, but this time…
-
AWS SAM Request Extremely Slow – Fix
Hi everyone, I’m currently using AWS SAM CLI with NodeJS and was surprised to find that the requests were significantly slower when run locally. Luckily, I came across a post that suggested adding –skip-pull-image to your start-api command: sam local start-api –skip-pull-image This brought my requests down to under a second. Thanks to the following…
-
Error: Invalid value for “–parameter-overrides”: ParameterKey=TABLE_NAME,ParameterValue=CatBreeds is not in valid format. It must look something like ‘ParameterKey=KeyPairName,ParameterValue=MyKey ParameterKey=InstanceType,ParameterValue=t1.micro’ – AWS SAM CLI
Hi everyone, I ran into the following error while using the AWS SAM Cli: Error: Invalid value for “–parameter-overrides”: ParameterKey=PURPLE_FROG,ParameterValue=CatBreeds is not in valid format. It must look something like ‘ParameterKey=KeyPairName,ParameterValue=MyKey ParameterKey=InstanceType,ParameterValue=t1.micro’ This is the command I was running: sam local start-api –parameter-overrides “ParameterKey=PURPLE_FROG,ParameterValue=CatBreeds” The error message is unfortunately very misleading. After a fair bit…
-
An error occurred (UnrecognizedClientException) when calling the CreateFunction operation: The security token included in the request is invalid.
Hi everyone, I ran into the following error today while attempting to create a Lambda function using the CLI: An error occurred (UnrecognizedClientException) when calling the CreateFunction operation: The security token included in the request is invalid. The first thing to check is that your aws config is setup correctly. For me this is under…