Created
October 26, 2019 22:36
-
-
Save cicdw/b7540ea606ae20957a521a3feec474c9 to your computer and use it in GitHub Desktop.
Snippet of providing parmeter values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you wish to pass information about the triggering event as a parameter, | |
# simply add that to the inputs dictionary under the parameters key, | |
# whose value should be a dictionary of PARAMETER_NAME -> PARAMETER_VALUE | |
# pass the full event | |
inputs['parameters'] = dict(event=event) | |
# or just the bucket name | |
inputs['parameters'] = dict(bucket_name=event['Records'][0]['s3']['bucket']['name']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment