Skip to content

Commit 3857efd

Browse files
committed
Require GCP project when prompting
1 parent 2328279 commit 3857efd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/types/clusterconfig/cluster_config_gcp.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,9 @@ var GCPAccessPromptValidation = &cr.PromptValidation{
310310
PromptOpts: &prompt.Options{
311311
Prompt: ProjectUserKey,
312312
},
313-
StringPtrValidation: &cr.StringPtrValidation{},
313+
StringPtrValidation: &cr.StringPtrValidation{
314+
Required: true,
315+
},
314316
},
315317
{
316318
StructField: "Zone",

0 commit comments

Comments
 (0)