For customers looking to migrate their Google Cloud Composer Version 1 environments to Composer 2.
Analyzes an existing Cloud Composer 1 / Airflow 1 environment and generates terraform.
Configures new Cloud Composer 2 environment to meet your workload.
- Ensure that an existing Cloud Composer 1 environment exists
- Run the script
./terraform-generate.sh -p your-project -l your-location -e your-environment
- Navigate to terraform-generator/terraform
- review your-environment.tfvars for intended output
- Run terraform
terraform init
terraform plan --var-file=your-environment.tfvars
terraform apply --var-file=your-environment.tfvars