Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 910 Bytes

File metadata and controls

49 lines (31 loc) · 910 Bytes

cloud-composer-migration-terraform-generator

Table Of Contents

  1. Use Case
  2. About
  3. Setup
  4. Results

use-case

For customers looking to migrate their Google Cloud Composer Version 1 environments to Composer 2.


about

Tools

Analyzes an existing Cloud Composer 1 / Airflow 1 environment and generates terraform.

Configures new Cloud Composer 2 environment to meet your workload.


setup

  1. Ensure that an existing Cloud Composer 1 environment exists
  2. Run the script
./terraform-generate.sh -p your-project -l your-location -e your-environment

results

  1. Navigate to terraform-generator/terraform
  2. review your-environment.tfvars for intended output
  3. Run terraform
terraform init
terraform plan --var-file=your-environment.tfvars
terraform apply --var-file=your-environment.tfvars