You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# terraform-google-composer
2
2
3
-
This module was generated from [terraform-google-module-template](https://github.com/terraform-google-modules/terraform-google-module-template/), which by default generates a module that simply creates a GCS bucket. As the module develops, this README should be updated.
3
+
This module makes it easy to create a Cloud Composer Environment. As the module develops, this README should be updated.
4
4
5
5
The resources/services/activations/deletions that this module will create/trigger are:
6
6
7
-
- Create a GCS bucket with the provided name
7
+
- Create a GCP Composer Environment
8
8
9
9
## Usage
10
10
@@ -16,7 +16,8 @@ module "composer" {
16
16
version = "~> 0.1"
17
17
18
18
project_id = "<PROJECT ID>"
19
-
bucket_name = "gcs-test-bucket"
19
+
name = "composer-env-test"
20
+
region = "us-central1"
20
21
}
21
22
```
22
23
@@ -28,14 +29,20 @@ Functional examples are included in the
28
29
29
30
| Name | Description | Type | Default | Required |
30
31
|------|-------------|:----:|:-----:|:-----:|
31
-
| bucket\_name | The name of the bucket to create | string | n/a | yes |
32
-
| project\_id | The project ID to deploy to | string | n/a | yes |
32
+
| composer\_env\_name | Name of Cloud Composer Environment | string | n/a | yes |
33
+
| composer\_sa | Service Account to be used for running Cloud Composer Environment. | string | n/a | yes |
34
+
| project\_id | Project ID where Cloud Composer Environment is created. | string | n/a | yes |
35
+
| region | Region where the Cloud Composer Environment is created. | string | n/a | yes |
33
36
34
37
## Outputs
35
38
36
39
| Name | Description |
37
40
|------|-------------|
38
-
| bucket\_name ||
41
+
| airflow\_uri | URI of the Apache Airflow Web UI hosted within the Cloud Composer Environment. |
42
+
| composer\_env\_id | ID of Cloud Composer Environment. |
43
+
| composer\_env\_name | The name of the Cloud Composer Environment. |
44
+
| gcs\_bucket | Google Cloud Storage bucket which hosts DAGs for the Cloud Composer Environment. |
45
+
| gke\_cluster | Google Kubernetes Engine cluster used to run the Cloud Composer Environment. |
39
46
40
47
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
41
48
@@ -55,7 +62,11 @@ The following dependencies must be available:
55
62
A service account with the following roles must be used to provision
0 commit comments