Skip to content

Adds a parameter to disable syncing#25

Open
da1nerd wants to merge 6 commits intocloud-gov:masterfrom
da1nerd:conditional-syncing
Open

Adds a parameter to disable syncing#25
da1nerd wants to merge 6 commits intocloud-gov:masterfrom
da1nerd:conditional-syncing

Conversation

@da1nerd
Copy link
Copy Markdown

@da1nerd da1nerd commented Oct 12, 2018

Some times you just want to upload files without downloading everything. This is especially helpful when when uploading larges files like builds because I don't want to download everything I've already uploaded and waste time and bandwidth.

Now when using this resource you can use a sync flag to disable the syncing. For example:

- name: upload
  type: my-s3-folder
  source:
    bucket: my-s3-bucket.com
    ...
    sync: false
    options:
      - ...

The the default action is to sync so this shouldn't break existing configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant