Skip to content

Commit f748391

Browse files
committed
feat: added a missing field
1 parent 068fe6d commit f748391

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/create_environment_v3/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ resource "google_composer_environment" "composer_env" {
3838
config {
3939

4040
enable_private_environment = var.use_private_environment # reusing the existing variable name from previous versions
41+
enable_private_builds_only = var.enable_private_builds_only
4142

4243
environment_size = var.environment_size
4344
resilience_mode = var.resilience_mode

modules/create_environment_v3/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ variable "use_private_environment" {
118118
default = false
119119
}
120120

121+
variable "enable_private_builds_only" {
122+
type = bool
123+
description = "If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet."
124+
default = false
125+
}
126+
121127
variable "maintenance_start_time" {
122128
description = "Time window specified for daily or recurring maintenance operations in RFC3339 format"
123129
type = string

0 commit comments

Comments
 (0)