-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Current Behavior
The create-run action in hashicorp/tfc-workflows-github currently supports a refresh parameter (via the API payload), but does not expose a refresh_only input parameter.
When creating a plan run, the action sets:
"refresh": true- Refreshes state before planning"refresh-only": false- Still creates a plan with proposed changes
{"CanApply":true,"CanCancel":true,"CanDiscard":true,"CanForceCancel":false,"CanForceExecute":true},"plan-only":true,"position-in-queue":0,"refresh":true,"refresh-only":false,"source":"tfe-api","status":"planned_and_finished","status-timestamps".....
Desired Behavior
Add a refresh_only input parameter to the create-run action that maps to the API's refresh-only attribute.
This would allow users to create refresh-only runs that:
- Update Terraform state to match real-world infrastructure
- Do NOT propose any infrastructure changes
- Are useful for drift detection workflows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels