Last active
December 10, 2020 13:18
Star
You must be signed in to star a gist
write_data.yaml
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
name: JSON S3 Writer | |
description: Takes three values and writes them to S3 as JSON file | |
inputs: | |
- {name: s3_uri, type: String, description: 'Where to write JSON to'} | |
- {name: max_val, type: Integer, description: 'A value to add to JSON'} | |
- {name: min_val, type: Integer, description: 'A value to add to JSON'} | |
- {name: sum_val, type: Integer, description: 'A value to add to JSON'} | |
implementation: | |
container: | |
image: 863518836478.dkr.ecr.eu-central-1.amazonaws.com/dev/kubeflow-120/boto3 | |
command: [python3, write_data.py] | |
args: [ | |
--max_val, {inputValue: max_val}, | |
--min_val, {inputValue: min_val}, | |
--sum_val, {inputValue: sum_val}, | |
--s3_uri, {inputValue: s3_uri} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment