Skip to content

feat: add terraform refresh command#33

Merged
westonplatter merged 4 commits intomainfrom
feat/terraform-refresh-command
Oct 10, 2025
Merged

feat: add terraform refresh command#33
westonplatter merged 4 commits intomainfrom
feat/terraform-refresh-command

Conversation

@westonplatter
Copy link
Copy Markdown
Member

@westonplatter westonplatter commented Sep 22, 2025

what

  • Add terraform refresh in our task commands so it's similar to terraform [plan | apply]

why

  • There are situations where we need terraform refresh while migrating state from local to a remote backend.

references

Summary by CodeRabbit

  • New Features
    • Added a Terraform task to refresh state for a selected environment.
    • Uses environment-specific variables file and supports additional Terraform arguments.
    • Includes a pre-run check to ensure the variables file exists.
    • Behavior aligns with existing Terraform tasks for a consistent workflow.
    • Runs quietly in the current working directory to reduce noise.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants