This repo contains all code required to deploy a Go Serverless application with IBM Cloud Code Engine
- Code example for a simple HTTP web server
- Configuration to create a container image
- Terraform Infrastructure as Code (IaC) to create a serverless deployment with IBM Cloud Code Engine
- Continuous Integration (CI) with GitHub action
- Terraform runtime and state management with IBM Cloud Schematics
Each subdirectory contains its own README.md to provide info about the implementation, requirements and instructions for each project component.
- go/: Source code for go application
- docker/: Dockerfile to create Docker image for go application
- schematics/: Scripts to interact with IBM Cloud Schematics
- terraform/: Terraform project with definition files to create IBM Cloud Code Engine serverless project and app via IaC
- Access to an IBM Cloud account
- DockerHub account
- GitHub account
- Fork this repo
- Configure Secrets in GitHub repo settings (see .github/workflows/README.md)
- Create a Schematics workspace based on your repo (see schematics/README.md)
- Replace this URL with your repo URL
- (Optional) Update the Docker image name to reference your own image