Managing environments
In this section, we will learn about how to create environments and deploy IaC and applications to them. First, let’s configure our environment.
Configuring environments
As we did in Chapter 9, you will need to create two environments named awstest
and awsproduction
to complete this chapter. Once you have created these two environments, we can proceed with the deployments.
Deploying to environments
We will deploy these two environments by creating a deploy.yml
file and start by adding the steps needed for each application. This file will start with the following content; we will be adding to it in every section hereafter:
parameters: - name: envName type: string default: 'test' - name: awsConnection type: string default: 'aws-packt' - name: location type: string default: 'us-east-1' - name: containerTag type: string ...