Category: CodeStar
-
Cognito Auth with AWS SAM
Hi everyone, I’ve spent today implementing Cognito with AWS SAM and it took quite a while to work out what needed to be done – unfortunately there’s a lot of conflicting doco out there. Posting a sample template just in case it’s able to help anyone else out. The first thing to do is to…
-
AWS SAM not re-creating DynamoDb Table that was manually deleted – CodeStar
Hi everyone, I ran into a bit of an issue after deleting a DynamoDb table via the AWS Console that had been created via CloudFormation (using AWS SAM). After deleting it I had expected it to be re-created automatically on the next deploy. Unfortunately this didn’t happen. I came across the following AWS article that…
-
4: /codebuild/output/tmp/script.sh: pip: not found – Node.js and CodeStar
Hi everyone, I ran into the following CodeBuild error after upgrading my build environment from the default nodejs8.10 to nodejs10.14: 4: /codebuild/output/tmp/script.sh: pip: not found This one was a little confusing, but thankfully fairly easy to fix. In your buildspec.yml file update the pip steps to reference pip3 instead of pip: // Original commands: #…