Skip to content

Releases: cloudposse/terraform-aws-ecs-alb-service-task

0.19.0 Add option to define an empty ALB SGs

08 Nov 04:25
Compare
Choose a tag to compare

what

  • Add option to define an empty ALB SGs

why

  • This option is for the cases where ECS launch type is EC2 and the network mode is host and there is no ALB fronting the application

0.18.0 Add more configuration options from AWS provider

02 Nov 05:19
Compare
Choose a tag to compare

what

  • Add missing configuration options/blocks that are available in terraform AWS provider:

    • aws_ecs_service

      • placement_constraints
      • platform_version
      • service_registries
      • scheduling_strategy
      • ordered_placement_strategy
    • aws_ecs_task_definition

      • placement_constraints
      • proxy_configuration

why

  • Allow to specify the arguments/blocks for ECS service and task definition

0.17.0 Convert to TF 0.12. Add tests. Add Codefresh test pipeline

28 Oct 18:46
4a20381
Compare
Choose a tag to compare

what

  • Port module to Terraform 0.12
  • Pin all providers
  • Add example for testing
  • Add bats and terratest for the example
  • Add Codefresh badge to point to the test pipeline in terraform-modules project
  • Update README

why

  • Module currently does not work with 0.12. Much easier syntax
  • Better regression control
  • Automatically test the example on every commit and pull request
  • Provision resources on AWS in the test account and check the outputs for the correct values
  • terraform-modules project contains pipelines for all terraform modules

related

test

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

container_definition_json = [{"command":null,"cpu":256,"dependsOn":null,"dnsServers":null,"dockerLabels":null,"entryPoint":null,"environment":[{"name":"false_boolean_var","value":"false"},{"name":"integer_var","value":"42"},{"name":"string_var","value":"I am a string"},{"name":"true_boolean_var","value":"true"}],"essential":true,"firelensConfiguration":null,"healthCheck":null,"image":"cloudposse/geodesic","links":null,"logConfiguration":null,"memory":256,"memoryReservation":128,"mountPoints":null,"name":"geodesic","portMappings":[{"containerPort":80,"hostPort":80,"protocol":"tcp"},{"containerPort":443,"hostPort":443,"protocol":"udp"}],"privileged":null,"readonlyRootFilesystem":false,"repositoryCredentials":null,"secrets":null,"startTimeout":30,"stopTimeout":30,"systemControls":null,"ulimits":null,"user":null,"volumesFrom":null,"workingDirectory":null}]

container_definition_json_map = {"command":null,"cpu":256,"dependsOn":null,"dnsServers":null,"dockerLabels":null,"entryPoint":null,"environment":[{"name":"false_boolean_var","value":"false"},{"name":"integer_var","value":"42"},{"name":"string_var","value":"I am a string"},{"name":"true_boolean_var","value":"true"}],"essential":true,"firelensConfiguration":null,"healthCheck":null,"image":"cloudposse/geodesic","links":null,"logConfiguration":null,"memory":256,"memoryReservation":128,"mountPoints":null,"name":"geodesic","portMappings":[{"containerPort":80,"hostPort":80,"protocol":"tcp"},{"containerPort":443,"hostPort":443,"protocol":"udp"}],"privileged":null,"readonlyRootFilesystem":false,"repositoryCredentials":null,"secrets":null,"startTimeout":30,"stopTimeout":30,"systemControls":null,"ulimits":null,"user":null,"volumesFrom":null,"workingDirectory":null}

ecs_cluster_arn = arn:aws:ecs:us-east-2:126450723953:cluster/eg-test-ecs-alb-service-task
ecs_cluster_id = arn:aws:ecs:us-east-2:126450723953:cluster/eg-test-ecs-alb-service-task
ecs_exec_role_policy_id = eg-test-ecs-alb-service-task-exec:eg-test-ecs-alb-service-task-exec
ecs_exec_role_policy_name = eg-test-ecs-alb-service-task-exec

private_subnet_cidrs = [
  "172.16.0.0/19",
  "172.16.32.0/19",
]

public_subnet_cidrs = [
  "172.16.96.0/19",
  "172.16.128.0/19",
]

service_name = eg-test-ecs-alb-service-task
service_role_arn = arn:aws:iam::126450723953:role/eg-test-ecs-alb-service-task-service
service_security_group_id = sg-00c87f151c0393e7d
task_definition_family = eg-test-ecs-alb-service-task
task_definition_revision = 1
task_exec_role_arn = arn:aws:iam::126450723953:role/eg-test-ecs-alb-service-task-exec
task_exec_role_name = eg-test-ecs-alb-service-task-exec
task_role_arn = arn:aws:iam::126450723953:role/eg-test-ecs-alb-service-task-task
task_role_id = AROAR24IM5RYQGCHM4V3M
task_role_name = eg-test-ecs-alb-service-task-task
vpc_cidr = 172.16.0.0/16

0.16.0 Add support for multiple load_balancer configs

18 Oct 05:41
Compare
Choose a tag to compare

0.15.0 Add optional "propagate_tags" variable

18 Oct 04:16
Compare
Choose a tag to compare

what

  • Add optional "propagate_tags" variable

why

  • Variable allows to set optional "propagate_tags" argument on "aws_ecs_service" resource

0.14.0

20 Aug 15:22
2141944
Compare
Choose a tag to compare
Added ALB security group (#31)

0.13.1

16 Jul 20:26
Compare
Choose a tag to compare
Add deployment_controller to ignored service (#29)

0.13.0 Add `deployment_controller` option

13 Jul 05:53
Compare
Choose a tag to compare

what

  • Add deployment_controller option

why

  • ECS Service supports a deployment_controller to enable support for CodeDeploy integration. This further enables the ability to use Blue/Green deployments via CodeDeploy

0.12.0: Add exec outputs (#27)

13 Jun 18:07
Compare
Choose a tag to compare
* feat: new output for the task exec role

* fix: example integration

* fix: terraform lint

* docs: update output descriptions

Co-Authored-By: Andriy Knysh <[email protected]>

0.11.0 Allow configuration of auto assign public IP

29 Apr 17:17
Compare
Choose a tag to compare

what

  • Allow configuration of auto assign public IP

why

  • Add assign_public_ip variable
  • Rename variable private_subnet_ids to subnet_ids because it was misleading - public subnet ids can also be set

references