Skip to content

Rebuilding using terraform for backend and integrating circleci / storing state in terraform cloud

Notifications You must be signed in to change notification settings

deresolution20/cloud-resume-challenge-tf

Repository files navigation

cloud-resume-challenge-tf

Rebuilding using terraform for backend and integrating circleci / storing state in terraform cloud

Description

I decided to rebuild the backend using Terraform and integrate a CI/CD pipeline using CircleCI. Terraform State backend is stored in Terraform Cloud. I re-used the circleci config.yml file from Hashicorp's learn circleci lab as a basic template.


Languages and Utilities Used

  • Terraform

  • CircleCI

Environments Used

  • Ubuntu (22.04)

CircleCI example

push a git commit and circleCI will build a tf plan and hold. Once approved, it will apply the tf plan, build the tf destroy plan and hold here.



gitpush

circle





  • Validated resources are built in aws web client





dynamodb





  • Validated TF State is updated and versioned on Terraform Cloud.

tfstate





  • Validated CircleCI apply job

  • circlecivalid

circle2

About

Rebuilding using terraform for backend and integrating circleci / storing state in terraform cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published