Releases: WarnerMedia/terraform-ecs-fargate-module
EFS Support
Adds EFS support through the new volumes property:
volumes = [
{
volume_name = "${var.app}-${var.environment}-efs"
efs_volume_configuration = [
{
efs_file_system_id = aws_efs_file_system.gf_data.id
root_directory = "/data"
}
]
}
]
Then in the task definition set the mount point and reference the source volume with the same name.
mount_points = [
{
readOnly = false
containerPath = "/var/lib/blah"
sourceVolume = "${var.app}-${var.environment}-efs"
}
]
Permissions to access the EFS mount must be added to the ECS execution role outside of the module.
Added new properties for deployment_maximum_percent and deployment_minimum_healthy_percent to control service deployments.
Bumped up the node version for the lambda that builds the ECS dashboard.
Added output values for the ECS execution role so that it can be referenced and added to outside of the module.
Template provider fix
This will allow Mac M series developers to use the module. The template module that it was using was long since depricated and didn't have a binary release for M CPUs. It now uses the built in method of templating.
- removed unsupported template resource by @awlawl in #4
Full Changelog: v4.2.1...v4.2.3
v4.2.1
ALB CIDR
Allows override of the default cidr blocks of the ALB ingress. This will allow for incoming ip filtering on the alb.