Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Manages Cloud Composer v1 and v2 along with option to manage networking

License

NotificationsYou must be signed in to change notification settings

terraform-google-modules/terraform-google-composer

Repository files navigation

This module makes it easy to create a Cloud Composer Environment. As the module develops, this README should be updated.

The resources/services/activations/deletions that this module will create/trigger are:

  • Create a GCP Composer Environment

Compatibility

This module is meant for use with Terraform 1.3+ and tested using Terraform 1.3+. If you find incompatibilities using Terraform >=1.3, please open an issue.

Version

Current version is 4.0. Upgrade guides:

Usage

Cloud Composer currently has two versions: V2 has greater flexibility in the Airflow core services(scheduler, webserver, worker) and has a more practical and scalable infrastructure. Therefore, we recommend prioritizing theuse ofV2 for new environments.

You can find an overview of the producthereand thelist of major differences. Plans for Cloud Composer V1 end of support is documentedhere.

Simple usage is as follows:

module"composer" {source="terraform-google-modules/composer/google"version="~> 6.1"project_id="<PROJECT ID>"region="us-central1"composer_env_name="composer-env-test"network="test-network"subnetwork="composer-subnet"enable_private_endpoint=false}

Functional examples are included in theexamples directory.

Inputs

NameDescriptionTypeDefaultRequired
composer_env_nameName of Cloud Composer Environmentstringn/ayes
enable_private_endpointConfigure public access to the cluster endpoint.boolfalseno
networkNetwork where Cloud Composer is created.stringn/ayes
project_idProject ID where Cloud Composer Environment is created.stringn/ayes
regionRegion where the Cloud Composer Environment is created.stringn/ayes
subnetworkSubetwork where Cloud Composer is created.stringn/ayes
zoneZone where the Cloud Composer Environment is created.stringn/ayes

Outputs

NameDescription
airflow_uriURI of the Apache Airflow Web UI hosted within the Cloud Composer Environment.
composer_env_idID of Cloud Composer Environment.
composer_env_nameThe name of the Cloud Composer Environment.
gcs_bucketGoogle Cloud Storage bucket which hosts DAGs for the Cloud Composer Environment.
gke_clusterGoogle Kubernetes Engine cluster used to run the Cloud Composer Environment.

Requirements

These sections describe requirements for using this module.

Software

The following dependencies must be available:

Service Account

A service account with the following roles must be used to provisionthe resources of this module:

  • Project Editor:roles/editor
  • Network Admin:roles/compute.networkAdmin
  • Instance Admin:roles/compute.instanceAdmin.v1
  • Service Account User:roles/iam.serviceAccountUser
  • Composer Worker:roles/composer.worker

TheProject Factory module and theIAM module may be used in combination to provision aservice account with the necessary roles applied.

APIs

A project with the following APIs enabled must be used to host theresources of this module:

  • Cloud Composer API:composer.googleapis.com

TheProject Factory module can be used toprovision a project with the necessary APIs enabled.

Contributing

Refer to thecontribution guidelines forinformation on contributing to this module.

About

Manages Cloud Composer v1 and v2 along with option to manage networking

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors27


[8]ページ先頭

©2009-2025 Movatter.jp