Skip to content

Mbaoma/infra-task

Repository files navigation

Create the infrastructure manually

$ terraform init
$ terraform fmt
$ terraform validate
$ terraform plan
$ terraform apply

To run the CI/CD pipeline

$ git add .
$ git commit -m "commit message"
$ git push origin dev

To setup Certbot

Run the setupcertbot.sh file.

$ chmod u+x setupcertbot.sh
$ ./setupcertbot.sh

You push to dev, so you create a Pull request to merge your successful code into the main branch.

Code is successful if it runs through the pipeline (passes all tests) without throwing any errors.

image

*web page served suing Nginx*

image

*Cloud Watch*

Nginx Config file

/etc/nginx/nginx.conf image

Repo Secrets

image

Successsful Pipeline Run

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published