-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
add schedule_offset parameter to aws_ssm_maintenance_window #16569
Conversation
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.
Welcome @sysamma 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Co-authored-by: Brian Flad <[email protected]>
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.
Thank you for this, @sysamma 🚀 Pulling this in and fixing the remaining test failure:
=== CONT TestAccAWSSSMMaintenanceWindow_ScheduleOffset
TestAccAWSSSMMaintenanceWindow_ScheduleOffset: resource_aws_ssm_maintenance_window_test.go:471: Step 1/3 error: Error running apply:
Error: error creating SSM Maintenance Window: ValidationException: An offset can't be added to the specified schedule. A schedule offset can be specified only for CRON expressions that target a specific day in a specific week of the month, such as TUE#3.
status code: 400, request id: eb9f29ef-04a5-45a0-bbfc-a2d92943664b
--- FAIL: TestAccAWSSSMMaintenanceWindow_ScheduleOffset (20.50s)
Other resource acceptance testing:
--- PASS: TestAccAWSSSMMaintenanceWindow_basic (70.25s)
--- PASS: TestAccAWSSSMMaintenanceWindow_Cutoff (110.11s)
--- PASS: TestAccAWSSSMMaintenanceWindow_description (110.14s)
--- PASS: TestAccAWSSSMMaintenanceWindow_disappears (50.95s)
--- PASS: TestAccAWSSSMMaintenanceWindow_Duration (95.55s)
--- PASS: TestAccAWSSSMMaintenanceWindow_Enabled (77.48s)
--- PASS: TestAccAWSSSMMaintenanceWindow_EndDate (85.32s)
--- PASS: TestAccAWSSSMMaintenanceWindow_multipleUpdates (103.51s)
--- PASS: TestAccAWSSSMMaintenanceWindow_Schedule (66.02s)
--- PASS: TestAccAWSSSMMaintenanceWindow_ScheduleTimezone (74.36s)
--- PASS: TestAccAWSSSMMaintenanceWindow_StartDate (69.76s)
--- PASS: TestAccAWSSSMMaintenanceWindow_tags (126.19s)
This has been released in version 3.21.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Release note for CHANGELOG:
Output from acceptance testing: