Skip to content

Releases: byu-oit/terraform-aws-scheduled-fargate

v4.1.0

01 Aug 18:42
aa206e5
Compare
Choose a tag to compare

What's Changed

  • increase the default log time to 120 days by @jvisker in #26

Full Changelog: v4.0.0...v4.1.0

v4.0.0

10 Oct 16:04
a00fcdb
Compare
Choose a tag to compare

This enables using the EventBridge Scheduler to schedule our tasks, with extra features like time zone support and retries.

This allows for creating scheduled_fargate alongside the custom ecs cluster they create without the terraform plan breaking. It also improves security by creating its own iam role for cloudwatch to start the task instead of requiring the event_role_arn (usually powerbuilder role).

This also adds better support for creating a fargate task that is meant to only be executed manually (via CLI).

removed:

  • ecs_cluster_name variable
  • event_role_arn variable
  • ecs_cluster output
  • schedule_expression variable
  • event_pattern variable

added:

  • existing_ecs_cluster (object) variable
  • new_ecs_cluster output
  • schedule (object) variable
  • schedule output
  • event (object) variable
  • run_task_cli_command output

What's Changed

  • Fix Deprecated Github Commands by @jvisker in #17
  • use oidc for gha aws configuration by @HayLowry in #18
  • feat: removed ecs_cluster_name variable in favor for ecs_cluster_arn by @yoshutch in #19
  • feat!: removed event_role_arn variable, module create appropriate IAM role by @yoshutch in #20
  • feat: added event trigger functionality back by @yoshutch in #23
  • feat!: implemented EventBridge Scheduler and removed event triggering the task by @yoshutch in #22
  • Update docker image to Node 20 by @jvisker in #24
  • feat: moved variables into objects by @yoshutch in #25
  • feat!: Release 4.0.0 scheduler support, and better existing_ecs_cluster support by @yoshutch in #21

New Contributors

Full Changelog: v3.0.1...v4.0.0

v3.0.1

21 Mar 23:24
be9cf7b
Compare
Choose a tag to compare

What's Changed

  • Add optional entrypoint to container definition by @jvisker in #15

Full Changelog: v3.0.0...v3.0.1

v3.0.0

27 Jan 16:25
36f9b29
Compare
Choose a tag to compare

What's Changed

  • Bump hashicorp/setup-terraform from 1 to 2 by @dependabot in #11
  • feat: instructions for how to run a scheduled fargate task manually by @yoshutch in #13
  • Add the option to use ARM64 by @jvisker in #14

New Contributors

Full Changelog: v2.3.0...v3.0.0

v2.3.0

18 May 22:17
fbe8ae7
Compare
Choose a tag to compare

What's Changed

  • Allow passing in log group name by @stuft2 in #12

New Contributors

Full Changelog: v2.2.0...v2.3.0

v2.2.0

05 Apr 17:05
50a748c
Compare
Choose a tag to compare

What's Changed

  • feat: ability to trigger fargate task on a event bridge event_pattern by @yoshutch in #10

Full Changelog: v2.1.0...v2.2.0

v2.1.0

26 Jan 01:09
e3667e0
Compare
Choose a tag to compare

Add outputs for IAM Roles.

v2.0.0

13 Jan 22:33
99f06db
Compare
Choose a tag to compare

Can now pass in a command to use when running the container.

This is considered a breaking change because command is a required property. Users now need to pass in command = null to use the image's default command.

v1.0.0

30 Jun 20:10
e111e92
Compare
Choose a tag to compare
  1. Can deploy scheduled task onto existing ECS cluster.
  2. New EFS mount option is required but can be null.
efs_volume_mounts = null

v0.1.0

21 Apr 17:08
26839d6
Compare
Choose a tag to compare

Initial release
Creates a scheduled fargate task

  • ECS cluster (if not provided)
  • ECS Task Definition
  • CloudWatch Event Rule that starts 1 task defined by Task Definition