Skip to content

Commit

Permalink
Merge pull request #23 from ajmaurais/fix/GET_AWS_USER_ID
Browse files Browse the repository at this point in the history
Explicitly specify aws cli output format.
  • Loading branch information
mriffle authored Oct 16, 2024
2 parents a24ced5 + b379d46 commit 77eb6d4
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 77eb6d4

Please sign in to comment.