suzuki-shunsuke / circleci-orb-tfenv

deprecated: CircleCI Orb for Terraform with tfenv

Home Page:https://circleci.com/orbs/registry/orb/suzuki-shunsuke/tfenv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

circleci-orb-tfenv

CircleCI Orb Version CircleCI GitHub last commit License

CircleCI Orb to lint and test and apply Terraform configuration. This Orb assumes tfenv is used at the target project.

For detail, please see https://circleci.com/orbs/registry/orb/suzuki-shunsuke/tfenv

Deprecated: Please use suzuki-shunsuke/terraform instead of this orb

https://circleci.com/orbs/registry/orb/suzuki-shunsuke/terraform

suzuki-shunsuke/terraform

From version 0.3.0, some commands and jobs which don't depend on tfenv are replaced with suzuki-shunsuke/terraform.

https://github.com/suzuki-shunsuke/circleci-orb-terraform

Sample repository

https://github.com/suzuki-shunsuke/example-circleci-orb-tfenv

How does this orb work?

You can construct the following pipeline for Terraform.

  1. setup (checkout and install tools such as tfenv, tfnotify, and github-comment-cli)
  2. lint and test Terraform configuration
  3. apply the Terraform configuration

The following screenshot represents multiple Terraform configuration which are managed at a monorepo are tested in parallel.

https://circleci.com/workflow-run/c82b1a83-2db1-4b11-93c8-d8b6b0a58bef

When it is failed to run terraform fmt -check or terraform validate, the result is posted by github-comment-cli.

suzuki-shunsuke/example-circleci-orb-terraform#3 (comment)

suzuki-shunsuke/example-circleci-orb-terraform#3 (comment)

The results of terraform plan and terraform apply are posted by tfnotify. Ofcourse you can change the format of the comment by tfnotify's configuration.

suzuki-shunsuke/example-circleci-orb-terraform#1 (comment)

suzuki-shunsuke/example-circleci-orb-terraform#1 (comment)

License

MIT

About

deprecated: CircleCI Orb for Terraform with tfenv

https://circleci.com/orbs/registry/orb/suzuki-shunsuke/tfenv

License:MIT License


Languages

Language:Shell 91.0%Language:Makefile 9.0%