Skip to content

Commit

Permalink
Explicitly specify aws cli output format.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmaurais committed Oct 11, 2024
1 parent a24ced5 commit b379d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aws.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ process GET_AWS_USER_ID {

script:
"""
aws sts get-caller-identity | grep '"Arn"' | sed 's/.*user\\///' | tr -d '",' | tr -d '\n'
aws sts get-caller-identity --output text --query Arn | sed 's/.*user\\///' | tr -d '\n'
"""

stub:
Expand Down

0 comments on commit b379d46

Please sign in to comment.