Skip to content

Releases: FitnessKeeper/terraform-aws-ecs-service

Add Parameter for ALB Deregistration Delay

08 Nov 20:37
9b797e4
Compare
Choose a tag to compare

Please note this is a feature update to the terraform 0.11 trunk. The feature will come to the terraform 0.12 branch at a future date.
Changes:

  • add new parameter alb_deregistration_delay which passes through to the aws_alb_target_group's deregistration_delay parameter. This allows the customization of how long it takes containers in the service to drop out of the target group. The default is 300 seconds which matches the default on the aws_alb_target_group resource block.

Upgrade to Terraform v12.0.9

02 Oct 15:19
450d457
Compare
Choose a tag to compare
Merge pull request #12 from FitnessKeeper/terraform12

Terraform 12

Change Default Task Placement Strategy to Spread/instanceId

29 Aug 14:40
5e446a9
Compare
Choose a tag to compare

Changes:

  • default for ecs_placement_strategy_type changed from binpack to spread
  • default for ecs_placement_strategy_field changed from memory to instanceId
  • updated README and comments to reflect above change

This change attempts to spread containers in the service across multiple container hosts to improve resistance to failure.

Fixed IAM Names

05 Apr 01:47
f50f9a3
Compare
Choose a tag to compare

removed the name_prefix parameter from aws_iam_role and
aws_iam_role_policy. They have caused nothing but trouble since you
can't pass long string in as names, we keep running into AWS errors
trying to deploy aws_iam_role and aws_iam_role_policy resources with
names that are human readable, and frankly never use the human readable
names.

Also, updated the README format to be more readable, as well as other tf
file formating for readability, no other changes.

Adding Outputs and fixes a couple of bugs

28 Feb 20:20
1754591
Compare
Choose a tag to compare
  • feat: adding outputs for log_group and a fix

fix: shortening the IAM role prefix string
feat: adding outputs for log_group and a fix

  • docs: updated README using terraform-docs and added example dir

  • fix: changed placement_strategy to ordered_placement_strategy

This fixes this warning
"placement_strategy": [DEPRECATED] Use ordered_placement_strategy
instead

  • feat: Added output for LB ARN

  • fix: update output name

Fixed Prefix for S3 bucket. Now default is logs/elb

27 Feb 18:01
Compare
Choose a tag to compare
  • lb_log_prefix - Prefix for S3 bucket. (default is logs/elb).

Added S3 Bucket Logging

23 Jan 16:11
7adc689
Compare
Choose a tag to compare

lb_log_enabled = true (optional) - when set to true, will enable logging to designated S3 bucket
lb_bucket_name = (required) - name of AWS S3 bucket
lb_log_prefix = "elb/log" (optional) - will overwrite the default prefix with your designated prefix

set health_check_grace_period_seconds to zero

10 May 18:40
Compare
Choose a tag to compare

Correctly sets this parameter (health_check_grace_period_seconds )to zero

Adding Health Check Grace Period to ECS Service

13 Mar 18:13
028cf86
Compare
Choose a tag to compare

health_check_grace_period_seconds parameter was added to the module, as well as fixes to the task template to keep the task from being updated on every terraform run.