tree: 6342917f422b52a5f10246f31f728a5140bfc67d [path history] [tgz]
  1. 01.setup/
  2. 02.network/
  3. 03.io/
  4. 04.template/
  5. README.md
.test-infra/pipelines/infrastructure/README.md

Overview

This directory holds all the terraform modules for setting up the Google Cloud (GCP) resources necessary to executing :beam-test-infra-pipelines pipelines using the Dataflow runner.

Code organization

Folders are named according to recommended order of execution. For example, 01.setup is intended to be used prior to 02.network.

Common Terraform Modules

The following terraform modules apply to all executable :beam-test-infra-pipelines pipelines.

PathPurpose
01.setupSetup GCP project
02.networkProvision network

Specific Terraform Modules

The following modules apply to specific pipelines. When creating a new executable pipeline and its supported terraform, please consider updating this documentation.

org.apache.beam.testinfra.pipelines.ReadDataflowApiWriteBigQuery

The following modules provision resources related to org.apache.beam.testinfra.pipelines.ReadDataflowApiWriteBigQuery.

PathPurposeRequired/Optional
03.io/dataflow-to-bigqueryProvisions resources to read from the Dataflow API and write to BigQueryrequired
04.template/dataflow-to-bigqueryBuilds a Dataflow Flex Template that executes the pipelinesoptional

Therefore, to run org.apache.beam.testinfra.pipelines.ReadDataflowApiWriteBigQuery, apply the following recommended order of terraform modules. See their respective READMEs for more details.

  1. 01.setup
  2. 02.network
  3. 03.io/dataflow-to-bigquery
  4. 04.template/dataflow-to-bigquery (if you want to use Dataflow Flex Templates)