Skip to content

Commit

Permalink
Strip array brackets from users string
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Jan 26, 2021
1 parent 0ebae53 commit a9f1d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ var appCmd = &cobra.Command{
},
{
ParameterKey: aws.String("AllowedUsers"),
ParameterValue: getArgValue(cmd, &answers, "users", true),
ParameterValue: aws.String(strings.Trim(*(getArgValue(cmd, &answers, "users", true)), "[]")),
},
},
Capabilities: []*string{aws.String("CAPABILITY_IAM")},
Expand Down

0 comments on commit a9f1d4e

Please sign in to comment.