Skip to content

feat: run IAM and network provisioning concurrently in SpinUpWorkflow#42

Merged
Amertz08 merged 1 commit into
mainfrom
claude/concurrent-iam-network
May 14, 2026
Merged

feat: run IAM and network provisioning concurrently in SpinUpWorkflow#42
Amertz08 merged 1 commit into
mainfrom
claude/concurrent-iam-network

Conversation

@Amertz08
Copy link
Copy Markdown
Owner

Summary

  • Dispatch SpinUpIAMWorkflow and SpinUpNetworkWorkflow at the same time rather than sequentially — both futures are started before either .Get() is called
  • EKS provisioning still waits for both to complete before starting
  • Saga compensation is correctly registered for whichever steps succeed before returning any error, preventing orphaned resources if one side fails

Test plan

  • go build ./... passes
  • Full spin-up shows IAM and network child workflows running concurrently in the Temporal UI
  • If IAM fails mid-run, network resources are torn down by saga compensation

🤖 Generated with Claude Code

IAM role creation and VPC/subnet creation are independent, so dispatch
both child workflows before blocking on either. EKS provisioning still
waits for both to complete. Saga compensation is registered for
whichever steps succeed before returning any error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Amertz08 Amertz08 merged commit 2fd1aec into main May 14, 2026
1 check passed
@Amertz08 Amertz08 deleted the claude/concurrent-iam-network branch May 14, 2026 23:07
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.

1 participant