Skip to content

Commit a638976

Browse files
authored
fix: Add the zone variable to the root module (#35)
Co-authored-by: Awais Malik <[email protected]>
1 parent 73a0f94 commit a638976

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Functional examples are included in the
3636
| project\_id | Project ID where Cloud Composer Environment is created. | `string` | n/a | yes |
3737
| region | Region where the Cloud Composer Environment is created. | `string` | n/a | yes |
3838
| subnetwork | Subetwork where Cloud Composer is created. | `string` | n/a | yes |
39+
| zone | Zone where the Cloud Composer Environment is created. | `string` | n/a | yes |
3940

4041
## Outputs
4142

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module "composer-environment" {
2020
project_id = var.project_id
2121
composer_env_name = var.composer_env_name
2222
region = var.region
23+
zone = var.zone
2324
network = var.network
2425
subnetwork = var.subnetwork
2526
}

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ variable "region" {
2929
type = string
3030
}
3131

32+
variable "zone" {
33+
description = "Zone where the Cloud Composer Environment is created."
34+
type = string
35+
}
36+
3237
variable "network" {
3338
description = "Network where Cloud Composer is created."
3439
type = string

0 commit comments

Comments
 (0)