Skip to content

Commit

Permalink
Update role create docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kobajagi committed Nov 20, 2023
1 parent 152be8b commit 3dd96df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/iam_role_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (c *iamRoleCreateCmd) cmdLong() string {
return fmt.Sprintf(`This command creates a new IAM Role.
To read Policy from STDIN use '-' for policy.
Pro Tip: you can clone existing role by providing output of show command as Policy:
Pro Tip: you can reuse existing role policy by providing output of show command as input:
exo iam role show --policy --output-format json <policy-name> | exo iam role create --name <cloned-policy-name> --policy -
exo iam role show --policy --output-format json <role-name> | exo iam role create --name <new-role-name> --policy -
Supported output template annotations: %s`,
strings.Join(output.TemplateAnnotations(&iamRoleShowOutput{}), ", "))
Expand Down

0 comments on commit 3dd96df

Please sign in to comment.