Skip to content

feat: Add Day 2 actions for deployment resources - #641

Open
grigassukys wants to merge 1 commit into
vmware:mainfrom
grigassukys:feat/deployment-resource-action
Open

feat: Add Day 2 actions for deployment resources#641
grigassukys wants to merge 1 commit into
vmware:mainfrom
grigassukys:feat/deployment-resource-action

Conversation

@grigassukys

@grigassukys grigassukys commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds support for explicit Day 2 actions on individual deployment resources.

  • Adds vra_deployment_resource_action.
  • Adds vra_deployment_resource_actions for action and schema discovery.
  • Validates and converts action inputs.
  • Polls waiting requests by their own ID.
  • Serializes waiting actions targeting the same deployment.
  • Supports asynchronous submission with wait_for_completion = false; waiting defaults to true.
  • Preserves failed synchronous updates for retry.
  • Adds documentation and unit tests.

Testing

  • go test ./...
  • go test -race ./vra
  • go vet ./...
  • golangci-lint run ./vra

Closes #640

Run explicit Day 2 actions on individual deployment resources and expose available actions through a companion data source.

Validate inputs, poll each request directly, serialize actions per deployment, and keep failed updates pending for retry.
@grigassukys
grigassukys force-pushed the feat/deployment-resource-action branch from b2c5304 to 99027b2 Compare July 31, 2026 14:31
@tenthirtyam
tenthirtyam requested a review from frodenas July 31, 2026 15:11
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.

Support Day 2 actions on individual deployment resources

1 participant