A sample Go application using the AWS Code Pipeline
The buildspec.yml file is used by the AWS CodeBuild stage. In this file, it pulls down kubectl, builds the container image, pushes the image to Amazon ECR and then deploys the change to the Amazon EKS Cluster.
In the devsecops.yml file, you will find the Kubernetes service and deployment definitions. The service is configured with a LoadBalancer which prompts Kubernetes to launch an external load balancer using an AWS ELB.
- Generate a GitHub token to use in CloudFormation. here