Skip to content

Instantly share code, notes, and snippets.

@cicdw
Created October 26, 2019 22:38
Show Gist options
  • Save cicdw/5f7a18af20a6c42d718d5aa4b1baeda7 to your computer and use it in GitHub Desktop.
Save cicdw/5f7a18af20a6c42d718d5aa4b1baeda7 to your computer and use it in GitHub Desktop.
Example of updating inputs to provide an Idempotency Key
# if you wish to prevent duplicate runs from being created, you may also
# provide an idempotency key
# for example, the eventTime
inputs['idempotencyKey'] = event['Records'][0]['eventTime']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment