File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ module "composer" {
2626 composer_env_name = "composer-env-test"
2727 network = "test-network"
2828 subnetwork = "composer-subnet"
29+ enable_private_endpoint = false
2930}
3031```
3132
@@ -38,6 +39,7 @@ Functional examples are included in the
3839| Name | Description | Type | Default | Required |
3940| ------| -------------| ------| ---------| :--------:|
4041| composer\_ env\_ name | Name of Cloud Composer Environment | ` string ` | n/a | yes |
42+ | enable\_ private\_ endpoint | Configure public access to the cluster endpoint. | ` bool ` | ` false ` | no |
4143| network | Network where Cloud Composer is created. | ` string ` | n/a | yes |
4244| project\_ id | Project ID where Cloud Composer Environment is created. | ` string ` | n/a | yes |
4345| region | Region where the Cloud Composer Environment is created. | ` string ` | n/a | yes |
Original file line number Diff line number Diff line change 1717module "composer-environment" {
1818 source = " ./modules/create_environment_v1"
1919
20- project_id = var. project_id
21- composer_env_name = var. composer_env_name
22- region = var. region
23- zone = var. zone
24- network = var. network
25- subnetwork = var. subnetwork
20+ project_id = var. project_id
21+ composer_env_name = var. composer_env_name
22+ region = var. region
23+ zone = var. zone
24+ network = var. network
25+ subnetwork = var. subnetwork
26+ enable_private_endpoint = var. enable_private_endpoint
2627}
Original file line number Diff line number Diff line change @@ -43,3 +43,9 @@ variable "subnetwork" {
4343 description = " Subetwork where Cloud Composer is created."
4444 type = string
4545}
46+
47+ variable "enable_private_endpoint" {
48+ description = " Configure public access to the cluster endpoint."
49+ type = bool
50+ default = false
51+ }
You can’t perform that action at this time.
0 commit comments