CircleCI-Public / terraform-orb

Deploy your infrastructure via a CircleCI pipeline using the Terraform orb. Integrate Infrastructure-as-Code (IaC) to help provision and manage any cloud, infrastructure, or service of your choice.
https://circleci.com/orbs/registry/orb/circleci/terraform
MIT License
10 stars 44 forks source link

feat(plan): Adding detailed-exitcode option for plan #100

Closed ViBiOh closed 8 months ago

ViBiOh commented 1 year ago

Checklist

Motivation, Related Issues

We want to add an approve step when doing terraform through CircleCI. But, no approve is necessary if there is nothing to change. Instead of parsing the plan's output, we want to rely on the status code of the plan to decide if next steps are required.

Description

terraform plan has an extra -detailed-exitcode that we pass as a configuration.

ViBiOh commented 1 year ago

cc @CircleCI-Public/orb-publishers

medaminejridi commented 12 months ago

same here

ViBiOh commented 11 months ago

Any review possible? cc @KyleTryon