Skip to content

Commit 1f05481

Browse files
committed
added default value in variables
1 parent 1de41ef commit 1f05481

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
35.1 KB
Binary file not shown.

examples/simple_zonal_private/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
variable "project_id" {
1818
description = "The project ID to host the cluster in"
19+
default = "vanguard-20200519"
1920
}
2021

2122
variable "cluster_name_suffix" {
@@ -25,27 +26,33 @@ variable "cluster_name_suffix" {
2526

2627
variable "region" {
2728
description = "The region to host the cluster in"
29+
default = "asia-south1"
2830
}
2931

3032
variable "zones" {
3133
type = list(string)
3234
description = "The zone to host the cluster in (required if is a zonal cluster)"
35+
default = ["asia-south1-c"]
3336
}
3437

3538
variable "network" {
3639
description = "The VPC network to host the cluster in"
40+
default = "default"
3741
}
3842

3943
variable "subnetwork" {
4044
description = "The subnetwork to host the cluster in"
45+
default = "default"
4146
}
4247

4348
variable "ip_range_pods" {
4449
description = "The secondary ip range to use for pods"
50+
default="asia-south1-c-ip-pods"
4551
}
4652

4753
variable "ip_range_services" {
4854
description = "The secondary ip range to use for services"
55+
default="asia-south1-c-ip-services"
4956
}
5057

5158
variable "compute_engine_service_account" {

0 commit comments

Comments
 (0)