hashicorp / hashicorp/terraform-exec
Adding "-auto-approve" as an optional flag to the SDK.
- Dominant language
- Go
- Stars
- 786
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I’ve observed that most Terraform operations are run with `-auto-approve` by default, so there isn’t always an opportunity to review the resources that will be created or destroyed. Do you think it would be useful to add support in the SDK for reviewing changes before they’re applied?
Ref: https://github.com/hashicorp/terraform-exec/blob/7ae12dd2176573ec55c9b5c84542d1b466efce54/tfexec/apply.go#L176
Thanks!
Contributor guide
Research direction
Start with the referenced apply.go location and review how the SDK currently handles Terraform apply options. Confirm the intended optional -auto-approve behavior and how review-before-apply should work; done means callers can choose whether approval is required when applying changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, terraform
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100