-
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
r/aws_ssm_maintenance_window_task: Fix name/desc validation #7186
Conversation
3c70ee9
to
8828117
Compare
Hi Guys, which provider version is this bug fixed in |
None, yet. |
According to the AWS docs:
|
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, thanks so much for this fix @YakDriver 🚀
Previous output from updated acceptance testing:
--- FAIL: TestAccAWSSSMMaintenanceWindowTask_basic (158.62s)
testing.go:538: Step 0 error: Error applying: 1 error occurred:
* aws_ssm_maintenance_window_task.target: 1 error occurred:
* aws_ssm_maintenance_window_task.target: InvalidParameter: 2 validation error(s) found.
- minimum field size of 1, RegisterTaskWithMaintenanceWindowInput.Description.
- minimum field size of 3, RegisterTaskWithMaintenanceWindowInput.Name.
--- FAIL: TestAccAWSSSMMaintenanceWindowTask_updateForcesNewResource (231.62s)
testing.go:538: Step 0 error: Error applying: 1 error occurred:
* aws_ssm_maintenance_window_task.target: 1 error occurred:
* aws_ssm_maintenance_window_task.target: InvalidParameter: 2 validation error(s) found.
- minimum field size of 1, RegisterTaskWithMaintenanceWindowInput.Description.
- minimum field size of 3, RegisterTaskWithMaintenanceWindowInput.Name.
Output from acceptance testing with updated code:
--- PASS: TestAccAWSSSMMaintenanceWindowTask_updateForcesNewResource (155.51s)
--- PASS: TestAccAWSSSMMaintenanceWindowTask_basic (228.65s)
This has been released in version 1.59.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
Looks like this issue is back. Just checked on my end, works with aws provider 2.11.0, but breaks starting 2.12.0. |
Any fix upcoming for issue #4408 ? |
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! |
Fixes #6715
Changes proposed in this pull request:
name
anddescription
arguments to be optional and not fail validation. Test with and withoutname
anddescription
arguments.Output from acceptance testing: