Ray jobs on AWS Glue have a read only "timeout" property. Spark jobs have a writeable timeout property, and the two are created through the same API.
When creating a ray job resource, if timeout is null, the resource creates successfully, but when updating a resource, we read the hard-coded value from the remote resource, and submit it, causing an error.
Expected Behavior
Ray glue jobs update successfully
Actual Behavior
Error: updating Glue Job (tf-acc-test-4350313745659555033): InvalidInputException: Timeout not supported for Ray jobs
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.2.3
AWS Provider Version
5.31.0
Affected Resource(s)
Ray jobs on AWS Glue have a read only "timeout" property. Spark jobs have a writeable timeout property, and the two are created through the same API.
When creating a ray job resource, if timeout is null, the resource creates successfully, but when updating a resource, we read the hard-coded value from the remote resource, and submit it, causing an error.
Expected Behavior
Ray glue jobs update successfully
Actual Behavior
Error: updating Glue Job (tf-acc-test-4350313745659555033): InvalidInputException: Timeout not supported for Ray jobs
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Create with
Update with
Steps to Reproduce
Make a change to a ray job that requires the resource to update in place.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes