Gitlab CI/CD for deploying to AWS

Hey everyone,

I’m pretty new to Gitlab CI/CD. I’m trying to build a pipeline in my project deploy the cloud formation to AWS. As we have multiple templates to deploy. I use different stages for each of them. Those CF templates consists of deploying EC2, ECS and other services. do we need to download AWS CLI for each stages of the pipeline and what should be best approaches be followed?

It would be great if someone helps me with this! Thanks!

The AWS CLI tool needs to be available in the runner job.

You can do this by having it pre-installed on the image the runner uses or by installing it as part of the job.

1 Like