OWASP / Serverless-Goat

OWASP ServerlessGoat: a serverless application demonstrating common serverless security flaws
GNU Affero General Public License v3.0
319 stars 95 forks source link

AWS Serverless Application Repository is #8

Open AshinTop opened 5 years ago

AshinTop commented 5 years ago

AWS Serverless Application Repository is not applicable in cn-north-1 region. How can I deploy the application?????

mendickxiao commented 5 years ago

I deploy it in us-east-1

0xh0b0 commented 5 years ago

Serverless-Goat is just a regular AWS SAM application. You can deploy it to your account using aws-sam-cli

npm install --prefix ./src/api/convert
sam package --output-template packaged.yaml --s3-bucket BUKETNAME
sam deploy --template-file packaged.yaml --region cn-north-1  --capabilities CAPABILITY_IAM --stack-name serverless-goat
gceico commented 4 years ago

Hi, guys! This app works fine, but you have to use the code from #17 (the repo is here). Also, the commands of @0xh0b0 helped me a lot, so thank you very much. I hard-coded the name and the url of S3 Bucket to make it work properly.