Releases: FitnessKeeper/terraform-aws-ecs-service
Add Parameter for ALB Deregistration Delay
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 theaws_alb_target_group
'sderegistration_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 theaws_alb_target_group
resource block.
Upgrade to Terraform v12.0.9
Merge pull request #12 from FitnessKeeper/terraform12 Terraform 12
Change Default Task Placement Strategy to Spread/instanceId
Changes:
- default for
ecs_placement_strategy_type
changed frombinpack
tospread
- default for
ecs_placement_strategy_field
changed frommemory
toinstanceId
- 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
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
- 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
lb_log_prefix
- Prefix for S3 bucket. (default is logs/elb).
Added S3 Bucket Logging
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
Correctly sets this parameter (health_check_grace_period_seconds )to zero
Adding Health Check Grace Period to ECS Service
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.