v3.3.3 - Terragrunt parallelism fix and disk space cleanup for deployment stability
π Terragrunt Parallelism Fix and Disk Space Cleanup
This release addresses critical deployment stability issues by implementing parallelism optimization and comprehensive disk space cleanup to prevent "No space left on device" errors during large-scale Terragrunt deployments.
π Key Changes:
π§ Terragrunt Parallelism Optimization:
- Reduced Parallelism: Changed from default 10 to 5 concurrent operations (
--terragrunt-parallelism 5) - Provider Timeout Fix: Resolves
timeout while waiting for plugin to starterrors - Improved Stability: Prevents AzureRM provider crashes during large deployments
πΎ Disk Space Management:
- Pre-Deployment Cleanup: Automatically cleans temporary files, cache directories, and old downloads
- Post-Deployment Cleanup: Removes Terragrunt cache, Terraform state files, and temporary artifacts
- Disk Space Monitoring: Shows available disk space before and after deployment
- Error Prevention: Eliminates "No space left on device" errors on GitHub Actions runners
π οΈ Technical Details:
Cleanup Operations:
# Pre-deployment cleanup
sudo rm -rf /tmp/* /var/tmp/* ~/.cache/* /home/runner/.cache/*
rm -rf $TERRAGRUNT_DOWNLOAD/* .terraform/* .terragrunt-cache/*
# Disk space monitoring
df -hParallelism Configuration:
terragrunt run-all apply --non-interactive --terragrunt-parallelism 5π― Impact:
- β Deployment Reliability: Significantly reduces deployment failures
- β Resource Optimization: Better utilization of GitHub Actions runner resources
- β Error Prevention: Eliminates common disk space and provider timeout issues
- β Performance: Maintains deployment speed while improving stability
π Related Work Items:
- AB#23381: Fix: Reduce Terragrunt parallelism to 5 to prevent provider timeout issues
- AB#23381: Fix: Add disk space cleanup to prevent 'No space left on device' errors
π Compatibility:
- Backward Compatible: No breaking changes to existing workflows
- All Environments: Works across dev, tst, acc, and prd environments
- All Repositories: Benefits all repositories using this action
π Usage:
Update your workflows to use the latest version:
uses: recognizegroup/vwt-ip-action-modules/.github/actions/terragrunt_apply@v3.3.3This release ensures more reliable and stable infrastructure deployments across the VWT Integration Platform.