Skip to content

Commit bf5c45f

Browse files
Merge pull request #95 from fahlmant/console-error-fix
Add error message for failure to generate console
2 parents c634694 + 18d90f2 commit bf5c45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/account/console.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func (o *consoleOptions) run() error {
8383
aws.String(o.k8sclusterresourcefactory.Awscloudfactory.SessionName), aws.String(fmt.Sprintf("arn:aws:iam::%s:role/%s",
8484
o.k8sclusterresourcefactory.AccountID, o.k8sclusterresourcefactory.Awscloudfactory.RoleName)))
8585
if err != nil {
86+
fmt.Fprintf(o.IOStreams.Out, "Generating console failed. If CCS cluster, customer removed or denied access to the BYOC role.")
8687
return err
8788
}
8889
fmt.Fprintf(o.IOStreams.Out, "The AWS Console URL is:\n%s\n", consoleURL)

0 commit comments

Comments
 (0)