Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS DataSync Scheduling #10995

Closed
gazoakley opened this issue Nov 23, 2019 · 14 comments · Fixed by #14452
Closed

AWS DataSync Scheduling #10995

gazoakley opened this issue Nov 23, 2019 · 14 comments · Fixed by #14452
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/datasync Issues and PRs that pertain to the datasync service.
Milestone

Comments

@gazoakley
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS have announced support for scheduled tasks for AWS Datasync: https://aws.amazon.com/about-aws/whats-new/2019/11/aws-datasync-adds-the-ability-to-schedule-data-transfers/

You can now schedule AWS DataSync transfers between NFS servers, SMB servers, Amazon S3, and Amazon Elastic File System (Amazon EFS). DataSync task scheduling enables you to periodically execute a transfer task to detect and copy changes from your source storage system to the destination.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_datasync_task" "example" {
  destination_location_arn = "${aws_datasync_location_s3.destination.arn}"
  name                     = "example"
  source_location_arn      = "${aws_datasync_location_nfs.source.arn}"

  schedule {
    schedule_expression = "<cron expression>"
  }
}

References

@gazoakley gazoakley added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 23, 2019
@ghost ghost added the service/datasync Issues and PRs that pertain to the datasync service. label Nov 23, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 23, 2019
@ewbankkit
Copy link
Contributor

@bflad bflad removed the needs-triage Waiting for first response or review from a maintainer. label Nov 25, 2019
@Hitesh-Agrawal
Copy link

We need this part of the terraform resource to schedule our datasync task.

@gonzaloraisin
Copy link

Voted. Could you add filtering feature to the request? Thanks

@mehfuzh
Copy link

mehfuzh commented Jun 30, 2020

This is absolutely important to automate the data sync task,
+ 1

@bzcnsh
Copy link

bzcnsh commented Aug 3, 2020

shocked to find out that I cannot schedule/kick off the task with terraform, after spending hours setting up all the groundwork for EFS replication using terraform.
the ability to schedule task runs is absolutely needed.

@DrFaust92
Copy link
Collaborator

Ill take a crack at it.

@gazoakley
Copy link
Contributor Author

@DrFaust92 Go for it - I don't have any plans to work on this right now 👍

@tmx-dxiao
Copy link

DataSync scheduling is a must have! The current Terraform datasync task does not support scheduling, does not support specify log level... Unbelievable!

@ghost
Copy link

ghost commented Dec 10, 2020

DataSync schedule is an absolute must.

@alxgruU
Copy link

alxgruU commented Dec 29, 2020

yes please !!!, this is really necessary !

@smeluski
Copy link

Bumping this up! Would be really beneficial to have.

@robmoss2k
Copy link

Bump again. Having to use the AWS CLI to manually check the log level's state and schedule and update them if incorrect is painful.

@github-actions github-actions bot added this to the v3.40.0 milestone May 12, 2021
@ghost
Copy link

ghost commented May 13, 2021

This has been released in version 3.40.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/datasync Issues and PRs that pertain to the datasync service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.