Skip to content

Instantly share code, notes, and snippets.

@Evanto
Created April 12, 2021 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Evanto/855bd15d94af711d0c937df9b7948fcc to your computer and use it in GitHub Desktop.
Save Evanto/855bd15d94af711d0c937df9b7948fcc to your computer and use it in GitHub Desktop.
name: Load from S3
description: Loads files from S3 and outputs them as a component output
inputs:
- {name: s3_input_uri, type: String}
outputs:
- {name: output_path, type: String}
implementation:
container:
image: amazon/aws-cli:2.1.29
command: [aws, s3, cp]
args: [{inputValue: s3_input_uri},
{outputPath: output_path}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment