hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

[Enhancement]: DataSync Task Enhanced mode #39965

Open egarbi opened 2 weeks ago

egarbi commented 2 weeks ago

Description

Yesterday AWS launched a new Enhanced mode for datasync tasks. The resource has to introduce this option otherwise tasks created will be all Basic mode. See the pics below, the one created from the console is running as Enhanced and the one from Terraform is Basic

Screenshot 2024-10-31 at 11 45 01

Affected Resource(s) and/or Data Source(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
  task_mode                = "Enhanced"

  schedule {
    schedule_expression = "cron(0 12 ? * SUN,WED *)"
  }
}

References

Below you can see the announcement https://aws.amazon.com/about-aws/whats-new/2024/10/aws-datasync-performance-scalability-data-transfers/

Would you like to implement a fix?

None

github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue