sooraj-satheesh/Terraform Drift Correction (Gemini, text-plan)
Use Gemini CLI to remediate Terraform drift by editing HCL based on human-readable plan output.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| plan-command | Shell command to produce terraform plan text output (e.g., 'terraform plan -no-color -detailed-exitcode || true'). | yes | — |
| workdir | Working directory for Terraform code. | — | . |
| gemini-model | Gemini model to use. | — | gemini-2.5-flash |
| extra-prompt | Optional extra instructions appended to the prompt. | — | "" |
| gemini-api-key | API key for Gemini. | yes | — |
Outputs
| name | description |
|---|---|
| has_changes | true if repository files changed after remediation. |