Skip to content

Commit ba8ea2e

Browse files
authored
fix: correct typo in example (#4037)
1 parent 22d8d48 commit ba8ea2e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-iam-policy-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE:
77

88
EXAMPLES:
99
Add a policy for a group that gives InstanceFullAccess on all projects
10-
scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstanceFullAccess
10+
scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstancesFullAccess
1111

1212
ARGS:
1313
name=<generated> Name of the policy to create (max length is 64 characters)

docs/commands/iam.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ scw iam policy create [arg=value ...]
709709

710710
Add a policy for a group that gives InstanceFullAccess on all projects
711711
```
712-
scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstanceFullAccess
712+
scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstancesFullAccess
713713
```
714714

715715

internal/namespaces/iam/v1alpha1/iam_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ func iamPolicyCreate() *core.Command {
15211521
Examples: []*core.Example{
15221522
{
15231523
Short: "Add a policy for a group that gives InstanceFullAccess on all projects",
1524-
Raw: `scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstanceFullAccess`,
1524+
Raw: `scw iam policy create group-id=11111111-1111-1111-1111-111111111111 rules.0.organization-id=11111111-1111-1111-1111-111111111111 rules.0.permission-set-names.0=InstancesFullAccess`,
15251525
},
15261526
},
15271527
}

0 commit comments

Comments
 (0)