Rebuilding using terraform for backend and integrating circleci / storing state in terraform cloud
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.
-
Terraform
-
CircleCI
- Ubuntu (22.04)
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.
- Validated resources are built in aws web client
- Validated TF State is updated and versioned on Terraform Cloud.