/agilespud

Integrated service catalog, backlog, and sprint planning tool

Primary LanguageHCL

Using GO and terraform

Step 1. Create a JS web service using Terraform

follow along with https://www.terraform.io/docs/providers/aws/r/lambda_function.html

proof of completion

Invoke-WebRequest  $(terraform output base_url) |select -ExpandProperty content

Step 2. Rewrite function in GO

go build -o main main.go aws s3 cp main.zip s3://samagilespud

modify terraform

teraform apply
Invoke-WebRequest  $(terraform output base_url) |select -ExpandProperty content

Step 3. auto build and deploy function with CircleCI

follow steps on https://circleci.com/docs/2.0/getting-started/

Step 3. Bonus round: add local builds and pre-commit validation

Template:

ericjaystevens

Step 4. Build zip and push to s3 bucket

https://circleci.com/blog/circleci-hacks-validate-circleci-config-on-every-commit-with-a-git-hook/

Used pesistant storage and workflows https://circleci.com/docs/2.0/sample-config/