Go scaffolding project template, this includes:
- Sample rest service code
- Sample circleci configs
- Sample Dockerfile
- Sample terraform deployment
make servemake testmake lintmake docker-buildcurl 0.0.0.0:8080/api/v1/health/statusSwagger ui will be exposed at:
0.0.0.0:8080/api/v1/swagger/docs/swaggerui/
mkdir new-prog && cd new-proggit clone [email protected]:blockchain-abstraction-middleware/project-template.git .sudo rm -r .git- :thumbs_up:
main.tf
- Line 12: update module "name"
- Line 15: update deployment_name
- Line 16: update docker_image
.circleci/config.yml
- Line 20: update TF_VAR_docker_image to === the name in
main.tf - Line 37: update
terraform taint module.'your_module_name'.kubernetes_deployment.mainto === name inmain.tf