Automating the deployment
As we discussed in our design, our solution is made up of two application components: the frontend and the backend. Each has a code base consisting of application code and an operating system configuration encapsulated within a Packer template. These two application components are then deployed into a cloud environment on AWS, which is defined within our Terraform code base.
There is an additional code base that we have yet to discuss: our automation pipelines. We will be implementing our automation pipelines using GitHub Actions:
Figure 7.21 – Source code structure within our GitHub repository
In GitHub Actions, automation pipelines are called workflows and they are stored in a particular folder within the source code repository, namely /.github/workflows
. Each of our code bases is stored in a separate folder. Our solutions source code repository’s folder structure looks like this:
- .github - workflows...