From 3dd96df983a0ec37b0a00f73c9ec1c3933953272 Mon Sep 17 00:00:00 2001 From: Predrag Janosevic Date: Mon, 20 Nov 2023 16:45:45 +0100 Subject: [PATCH] Update role create docs --- cmd/iam_role_create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/iam_role_create.go b/cmd/iam_role_create.go index 630acd61..82e79fc1 100644 --- a/cmd/iam_role_create.go +++ b/cmd/iam_role_create.go @@ -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 | exo iam role create --name --policy - + exo iam role show --policy --output-format json | exo iam role create --name --policy - Supported output template annotations: %s`, strings.Join(output.TemplateAnnotations(&iamRoleShowOutput{}), ", "))