Add support for the AWS Glue Job Notification Delay After feature. This feature allows for AWS Glue to send a notification to Clouwatch rules when a job takes longer than the configured minutes value. To configure this property it looks like we need to include a "NotificationProperty" that is of type object with 1 field called "NotifyDelayAfter" that is the minute integer value. It is indicated on the AWS CLI as --notification-property <value>.
Example possible implementation of the terraform for the aws_glue_job.
resource "aws_glue_job" "example" {
name = "example"
role_arn = "${aws_iam_role.example.arn}"
command {
script_location = "s3://${aws_s3_bucket.example.bucket}/example.py"
}
notification_property {
notify_delay_after = 90
}
}
Anyone got an issue with me having an initial go at this?
Support for this functionality has been merged and will release with version 2.50.0 of the Terraform AWS Provider, end of next week. Thanks to @jhole89 for the implementation. 👍
This has been released in version 2.51.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!
Thank you so much for the quick turn around here. I was hoping to get a PR together this weekend to support this feature but you guys already have it in production!
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!
Most helpful comment
Thank you so much for the quick turn around here. I was hoping to get a PR together this weekend to support this feature but you guys already have it in production!