@@ -346,7 +346,7 @@ func AskInstanceType(h *ec2helper.EC2Helper) (*string, error) {
346346 return & answer , nil
347347}
348348
349- // Ask the users to enter instace type vCPUs
349+ // Ask the users to enter instance type vCPUs
350350func AskInstanceTypeVCpu () string {
351351 question := "Please enter the amount of vCPUs (integer): "
352352
@@ -511,7 +511,7 @@ func AskImage(h *ec2helper.EC2Helper, instanceType string) (*ec2.Image, error) {
511511func AskKeepEbsVolume () string {
512512 stringOptions := []string {cli .ResponseYes , cli .ResponseNo }
513513 optionsText := yesNoOption + "\n "
514- question := "Do you want to keep the EBS volume(s) after the instance is terminated?"
514+ question := "Do you want to keep the EBS volume(s) after the instance is terminated? "
515515
516516 answer := AskQuestion (& AskQuestionInput {
517517 QuestionString : question ,
@@ -527,7 +527,7 @@ func AskKeepEbsVolume() string {
527527func AskAutoTerminationTimerMinutes () string {
528528 stringOptions := []string {cli .ResponseNo }
529529 optionsText := "[ integer ] Auto-termination timer in minutes\n " + "[ no ] No auto-termination" + "\n "
530- question := "Do you want to set an auto-termination timer for the instance?"
530+ question := "Do you want to set an auto-termination timer for the instance? "
531531
532532 answer := AskQuestion (& AskQuestionInput {
533533 QuestionString : question ,
@@ -574,7 +574,7 @@ func AskVpc(h *ec2helper.EC2Helper) (*string, error) {
574574 data = append (data , []string {fmt .Sprintf ("%d." , len (data )+ 1 ),
575575 fmt .Sprintf ("Create new VPC with default CIDR and %d subnets" , cfn .RequiredAvailabilityZones )})
576576
577- question := "What VPC would you like to launch into?"
577+ question := "What VPC would you like to launch into? "
578578 optionsText := table .BuildTable (data , []string {"Option" , "VPC" , "CIDR Block" })
579579
580580 answer := AskQuestion (& AskQuestionInput {
@@ -614,7 +614,7 @@ func AskSubnet(h *ec2helper.EC2Helper, vpcId string) (*string, error) {
614614 }
615615
616616 defaultOptionRepr , defaultOptionValue = & data [0 ][1 ], subnets [0 ].SubnetId
617- question := "What subnet would you like to launch into?"
617+ question := "What subnet would you like to launch into? "
618618 optionsText := table .BuildTable (data , []string {"Option" , "Subnet" , "Availability Zone" , "CIDR Block" })
619619
620620 answer := AskQuestion (& AskQuestionInput {
@@ -646,7 +646,7 @@ func AskSubnetPlaceholder(h *ec2helper.EC2Helper) (*string, error) {
646646 }
647647 defaultOptionRepr , defaultOptionValue := & data [0 ][1 ], & data [0 ][1 ]
648648
649- question := "What availability zone would you like to launch into?"
649+ question := "What availability zone would you like to launch into? "
650650 optionsText := table .BuildTable (data , []string {"Option" , "Zone Name" , "Zone ID" })
651651
652652 answer := AskQuestion (& AskQuestionInput {
@@ -722,7 +722,7 @@ func AskSecurityGroups(groups []*ec2.SecurityGroup, addedGroups []string) string
722722 "Don't add any more security group" })
723723 }
724724
725- question := "What security group would you like to use?"
725+ question := "What security group would you like to use? "
726726 optionsText := table .BuildTable (data , []string {"Option" , "Security Group" , "Description" })
727727
728728 answer := AskQuestion (& AskQuestionInput {
@@ -747,7 +747,7 @@ func AskSecurityGroupPlaceholder() string {
747747 data = append (data , []string {fmt .Sprintf ("%d." , 1 ), "Use the default security group" })
748748 data = append (data , []string {fmt .Sprintf ("%d." , 2 ), "Create and use a new security group for SSH" })
749749
750- question := "What security group would you like to use?"
750+ question := "What security group would you like to use? "
751751 optionsText := table .BuildTable (data , []string {"Option" , "" })
752752
753753 answer := AskQuestion (& AskQuestionInput {
0 commit comments