Skip to content

Commit

Permalink
OCM-11810 | feat: Improved help message for rosa create network
Browse files Browse the repository at this point in the history
  • Loading branch information
den-rgb authored and openshift-cherrypick-robot committed Oct 25, 2024
1 parent 4ebcf5a commit de7a828
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkg/options/network/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ import (

const (
use = "network"
short = "Network aws cloudformation stack"
long = "Network aws cloudformation stack using predefined yaml templates. "
example = ` # Create a aws cloudformation stack
rosa create network <template-name> --param Param1=Value1 --param Param2=Value2 `
short = "Network AWS cloudformation stack"
long = "Network AWS cloudformation stack using predefined yaml templates. "
example = ` # Create a AWS cloudformation stack
rosa create network <template-name> --param Param1=Value1 --param Param2=Value2 ` +
"\n\n" + ` # ROSA quick start HCP VPC example` +
"\n" + ` rosa create network rosa-quickstart-default-vpc --param Region=us-west-2` +
` --param Name=quickstart-stack --param AvailabilityZoneCount=1 --param VpcCidr=10.0.0.0/16` +
"\n\n" + ` # To delete the AWS cloudformation stack` +
"\n" + ` aws cloudformation delete-stack --stack-name <name> --region <region>`
)

type NetworkUserOptions struct {
Expand Down

0 comments on commit de7a828

Please sign in to comment.