Skip to content

Commit e0e075a

Browse files
authored
Merge pull request #8 from NarrativeScience/QPT-32618/set-state-export-pager-no-export
QPT-32618: Setting pager var for single command only
2 parents 93de559 + 2b98be0 commit e0e075a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/commands/set-state.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ steps:
3232
> "$VALUES"
3333
cat "$VALUES"
3434
35-
# Set the AWS_PAGER var to be set as empty so if we are using AWSCLI V2 this command works
36-
echo 'export AWS_PAGER=""' >> $BASH_ENV
37-
3835
# Update the state item and return the updated item
3936
# The key object is stored in /tmp/workspace/workflow-key.json
40-
aws dynamodb update-item \
37+
AWS_PAGER="" aws dynamodb update-item \
4138
--table-name "$DYNAMODB_TABLE_WORKFLOWS" \
4239
--key "file:///tmp/workspace/workflow-key.json" \
4340
--update-expression 'SET #state.#key = :value' \

0 commit comments

Comments
 (0)