{"id":22002976,"url":"https://github.com/rssnyder/terraform-aws-ecs-scheduler","last_synced_at":"2026-04-27T12:34:42.795Z","repository":{"id":108372476,"uuid":"572179549","full_name":"rssnyder/terraform-aws-ecs-scheduler","owner":"rssnyder","description":"schedule ecs tasks using eventbridge and lambda","archived":false,"fork":false,"pushed_at":"2022-11-29T19:47:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T12:39:49.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rssnyder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-29T18:09:21.000Z","updated_at":"2022-11-29T19:47:43.000Z","dependencies_parsed_at":"2023-08-31T07:19:05.035Z","dependency_job_id":null,"html_url":"https://github.com/rssnyder/terraform-aws-ecs-scheduler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fterraform-aws-ecs-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fterraform-aws-ecs-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fterraform-aws-ecs-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fterraform-aws-ecs-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rssnyder","download_url":"https://codeload.github.com/rssnyder/terraform-aws-ecs-scheduler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061390,"owners_count":20554563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T23:42:12.509Z","updated_at":"2026-04-27T12:34:37.755Z","avatar_url":"https://github.com/rssnyder.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-ecs-scheduler\n\nschedule ecs tasks using eventbridge and lambda\n\n## Example\n\n```terraform\nmodule \"ecs-schedule\" {\n  source = \"git::https://github.com/rssnyder/terraform-aws-ecs-scheduler.git\"\n  prefix = \"myservice_\"\n  services = [\n    {\n      cluster_arn = aws_ecs_cluster.dev.id,\n      service_arn = aws_ecs_service.myservice.id,\n      start_cron  = \"cron(0 13 ? * MON-FRI *)\",\n      stop_cron   = \"cron(0 21 ? * MON-FRI *)\"\n    },\n    {\n      cluster_arn = aws_ecs_cluster.dev.id,\n      service_arn = aws_ecs_service.myotherservice.id,\n      start_cron  = \"cron(0 13 ? * MON-FRI *)\",\n      stop_cron   = \"cron(0 21 ? * MON-FRI *)\"\n    }\n  ]\n}\n```\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| prefix | Prefix to add to all resources | `string` | | no |\n| services | ECS services and their cron schedules | `list(object({cluster_arn = string, service_arn = string, start_cron  = string, stop_cron   = string}))` | | yes |\n\n\n## Resources\n\n| Name | Type |\n|------|------|\n|ecs_scheduler_lambda|aws_iam_role|\n|ecs_scheduler_lambda_logs|aws_iam_role_policy_attachment|\n|ecs_scheduler_lambda|aws_iam_policy|\n|ecs_scheduler_lambda_ecs|aws_iam_role_policy_attachment|\n|ecs_scheduler|aws_lambda_function|\n|ecs_scheduler|aws_iam_role|\n|ecs_scheduler|aws_iam_policy|\n|ecs_scheduler|aws_iam_role_policy_attachment|\n|ecs_scheduler_start|aws_scheduler_schedule|\n|ecs_scheduler_stop|aws_scheduler_schedule|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fterraform-aws-ecs-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frssnyder%2Fterraform-aws-ecs-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fterraform-aws-ecs-scheduler/lists"}