alanlima / devops-serverless01 Goto Github PK
View Code? Open in Web Editor NEWDevOps Academy project c06-severless01
DevOps Academy project c06-severless01
SSM Parameter store: Use parameter store to store and retrieve the value of DB_NAME
in your 3 Musketeers scripts.
Lambda:
src/lambda.zip
). Check it in src/ folder. You will point to this zip file in your terraform Lambda resource.DB_NAME
. Make sure the value for this variable is fetched from SSM Parameter Store for deployment.dynamodb:PutItem
access. Lambda will also need to grant invokeFunction permission to the API Gateway.DB_NAME
as the database name created on task #1 using SSM Parameters created on task #4dynamodb:PuItem
permissionDA_Serverless
Encryption Type
should show KMS
in the console for the Table.Encryption Type
must be shown as KMS
in consolePOST /customers
: For creating a new customer in the database.POST /customers
which will call the lambda function to create customersdeploy
: It will deploy the solution using Terraform, creating all resources listed aboveclean
: It will destroy all resources created.docker-compose
with the following services: aws-cli and terraform-cliMakefile
with the following targets:
deploy
: it will init and apply the terraform infrastructureclean
: it will call terraform destroyTasks for development / tests purposes
list-customers
to list customers from DynamoDBcreate-random-customer
to create a random customer into the database
KMS Key: Create a new key used for encrypting the DynamoDB table.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.