-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/datasync_task - add scheduling support #14452
r/datasync_task - add scheduling support #14452
Conversation
5cf4da7
to
09a065c
Compare
435092b
to
bd3a877
Compare
allow updating `cloudwatch_log_group_arn` add arn validation for `cloudwatch_log_group_arn`, `source_location_arn`, `destination_location_arn`
54d3db4
to
fcc3456
Compare
… and simplify resource update. Acceptance test output: % make testacc TEST=./aws TESTARGS='-run=TestAccAWSDataSyncTask_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSDataSyncTask_basic -timeout 180m === RUN TestAccAWSDataSyncTask_basic === PAUSE TestAccAWSDataSyncTask_basic === CONT TestAccAWSDataSyncTask_basic --- PASS: TestAccAWSDataSyncTask_basic (230.02s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 233.609s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSDataSyncTask_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSDataSyncTask_ -timeout 180m
=== RUN TestAccAWSDataSyncTask_basic
=== PAUSE TestAccAWSDataSyncTask_basic
=== RUN TestAccAWSDataSyncTask_disappears
=== PAUSE TestAccAWSDataSyncTask_disappears
=== RUN TestAccAWSDataSyncTask_schedule
=== PAUSE TestAccAWSDataSyncTask_schedule
=== RUN TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== PAUSE TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== RUN TestAccAWSDataSyncTask_Tags
provider_test.go:55: Tagging on creation is inconsistent
--- SKIP: TestAccAWSDataSyncTask_Tags (0.00s)
=== CONT TestAccAWSDataSyncTask_basic
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== CONT TestAccAWSDataSyncTask_disappears
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== CONT TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== CONT TestAccAWSDataSyncTask_schedule
--- PASS: TestAccAWSDataSyncTask_disappears (254.19s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime (291.67s)
--- PASS: TestAccAWSDataSyncTask_CloudWatchLogGroupARN (293.57s)
--- PASS: TestAccAWSDataSyncTask_basic (298.11s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions (301.14s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles (301.27s)
--- PASS: TestAccAWSDataSyncTask_schedule (302.96s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond (304.22s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices (331.62s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_Gid (336.12s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_Uid (340.62s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel (344.72s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode (345.72s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 348.806s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSDataSyncTask_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSDataSyncTask_ -timeout 180m
=== RUN TestAccAWSDataSyncTask_basic
=== PAUSE TestAccAWSDataSyncTask_basic
=== RUN TestAccAWSDataSyncTask_disappears
=== PAUSE TestAccAWSDataSyncTask_disappears
=== RUN TestAccAWSDataSyncTask_schedule
=== PAUSE TestAccAWSDataSyncTask_schedule
=== RUN TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== PAUSE TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== RUN TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== PAUSE TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== RUN TestAccAWSDataSyncTask_Tags
provider_test.go:55: Tagging on creation is inconsistent
--- SKIP: TestAccAWSDataSyncTask_Tags (0.00s)
=== CONT TestAccAWSDataSyncTask_basic
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_Uid
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions
=== CONT TestAccAWSDataSyncTask_schedule
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_Gid
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime
=== CONT TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond
=== CONT TestAccAWSDataSyncTask_CloudWatchLogGroupARN
=== CONT TestAccAWSDataSyncTask_disappears
--- PASS: TestAccAWSDataSyncTask_disappears (207.54s)
--- PASS: TestAccAWSDataSyncTask_basic (241.95s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_Gid (258.47s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PosixPermissions (269.14s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_Uid (278.07s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDevices (279.14s)
--- PASS: TestAccAWSDataSyncTask_CloudWatchLogGroupARN (280.90s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_LogLevel (291.59s)
--- PASS: TestAccAWSDataSyncTask_schedule (293.79s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_PreserveDeletedFiles (298.36s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_AtimeMtime (317.25s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_VerifyMode (334.85s)
--- PASS: TestAccAWSDataSyncTask_DefaultSyncOptions_BytesPerSecond (335.74s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 338.663s
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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #10995
Release note for CHANGELOG:
Output from acceptance testing: