↑ 1 votes
Migrate Deployment Scripts to Terraform
Convert ad-hoc shell scripts into structured Terraform infrastructure-as-code.
category:modernization
terraform
iac
devops
workflow
multi-step
+1
Prompt
This workflow helps teams standardize infrastructure management by migrating to Terraform-based IaC. ## Steps: 1. Collect all existing deployment bash scripts and identify which cloud resources they create. 2. Define Terraform providers and remote state configuration. 3. Model each resource (VMs, databases, buckets, etc.) as Terraform resources/modules. 4. Parameterize configuration via variables instead of hard-coded values. 5. Create Terraform plans and compare them with current infrastructure. 6. Run apply in a non-production environment and verify behavior. 7. Gradually replace bash-based deployments with Terraform workflows in CI/CD.