EdgecaseInc / wercker-step-install-aws-cli

Wercker step to pull down and install latest AWS command line tools
1 stars 9 forks source link

Example usage #3

Closed CalvinMcGee closed 8 years ago

CalvinMcGee commented 8 years ago

Is there documentation around example usage for this step? How do you use it in your wercker.yml?

andrew-templeton commented 8 years ago

The example in the README is a complete example.

CalvinMcGee commented 8 years ago

I mean for instance if would like to use s3 sync, how would you write that in the wercker.yml?

andrew-templeton commented 8 years ago

The AWS CLI will be installed in the environment/pipeline after this step. Follow their documentation or the S3 sync wrecker step documentation. This step is not responsible for your sync. Please close this issue as it is not an issue with the repository nor the documentation for the tool.

jlgoolsbee commented 8 years ago

After including this step in your wercker.yml, direct usage of the AWS CLI will be possible via a script block; something like the following:

- script:
    name: Sync with S3
    code: |-
      aws s3 sync ./ s3://bucketname/path/to/folder