https://github.com/lucasmendesl/azure-pipelines-serverless-deploy
:zap: a simple demonstration from ci/cd process using serverless framework and azure pipelines
https://github.com/lucasmendesl/azure-pipelines-serverless-deploy
Last synced: 3 months ago
JSON representation
:zap: a simple demonstration from ci/cd process using serverless framework and azure pipelines
- Host: GitHub
- URL: https://github.com/lucasmendesl/azure-pipelines-serverless-deploy
- Owner: LucasMendesl
- Created: 2020-05-19T03:15:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:57:31.000Z (over 2 years ago)
- Last Synced: 2023-03-21T21:38:38.975Z (about 2 years ago)
- Language: JavaScript
- Size: 447 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Pipelines Serverless Deploy
> a simple demonstration from ci/cd process using serverless framework and azure pipelines
## Run Local
this project uses serverless-offline plugin to help us run the project locally
```sh
npm run offline
```## Deploy
if you want to deploy application without using azure pipelines, you can run a simple command, following the example below:
```sh
#create aws bucket using terraformterraform init #init terraform to provision env resources
terraform plan #validate created resources
terraform apply -var="access_key=your_access_key" -var="secret_key=your_secret_key" -auto-approve
#apply terraform changes, passing aws access key and secret to provision s3 bucket# if your bucket exists, ignore terraform script
npm run deploy:dev #or use other env like hml or prod
```