Releases: cloudposse/terraform-aws-ecs-alb-service-task
Releases · cloudposse/terraform-aws-ecs-alb-service-task
0.19.0 Add option to define an empty ALB SGs
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
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
what
- Port module to Terraform 0.12
- Pin all providers
- Add example for testing
- Add
bats
andterratest
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
what
- Add support for multiple load_balancer configs
why
- As of AWS provider 2.22, multiple
load_balancer
configs are supported
references
0.15.0 Add optional "propagate_tags" variable
what
- Add optional "propagate_tags" variable
why
- Variable allows to set optional "propagate_tags" argument on "aws_ecs_service" resource
0.14.0
0.13.1
0.13.0 Add `deployment_controller` option
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)
* 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
what
- Allow configuration of auto assign public IP
why
- Add
assign_public_ip
variable - Rename variable
private_subnet_ids
tosubnet_ids
because it was misleading - public subnet ids can also be set