Skip to content

Commit

Permalink
Merge pull request #8 from NarrativeScience/QPT-32618/set-state-expor…
Browse files Browse the repository at this point in the history
…t-pager-no-export

QPT-32618: Setting pager var for single command only
  • Loading branch information
ns-bdesimone authored Oct 23, 2020
2 parents 93de559 + 2b98be0 commit e0e075a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/commands/set-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ steps:
> "$VALUES"
cat "$VALUES"
# Set the AWS_PAGER var to be set as empty so if we are using AWSCLI V2 this command works
echo 'export AWS_PAGER=""' >> $BASH_ENV
# Update the state item and return the updated item
# The key object is stored in /tmp/workspace/workflow-key.json
aws dynamodb update-item \
AWS_PAGER="" aws dynamodb update-item \
--table-name "$DYNAMODB_TABLE_WORKFLOWS" \
--key "file:///tmp/workspace/workflow-key.json" \
--update-expression 'SET #state.#key = :value' \
Expand Down

0 comments on commit e0e075a

Please sign in to comment.