Skip to content

Commit 08c6e77

Browse files
committed
OCM-13045 | fix: Make additional-allowed-principals required for hcpsharedvpc
1 parent f35799e commit 08c6e77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/create/cluster/cmd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,6 +3028,7 @@ func run(cmd *cobra.Command, _ []string) {
30283028
Question: "Additional Allowed Principal ARNs",
30293029
Help: cmd.Flags().Lookup("additional-allowed-principals").Usage,
30303030
Default: strings.Join(additionalAllowedPrincipals, ","),
3031+
Required: isHcpSharedVpc,
30313032
})
30323033
if err != nil {
30333034
r.Reporter.Errorf("Expected a valid value for Additional Allowed Principal ARNs: %s", err)

0 commit comments

Comments
 (0)