Terraform ECS services bootstrap
IMPORTANT: The master branch is used in source just as an example. In your code, do not pin to master because there may be breaking changes between releases. Instead pin to the release tag (e.g. ?ref=tags/x.y.z) of one of our latest releases.
See examples
directory for working examples to reference:
module "ecs-bootstrap" {
source = "terraform-module/ecs-bootstrap/aws"
version = "~> 1"
}
See examples
directory for working examples to reference
- Create/Update ECS tasks
- Create/Update ECS services
- CPU based autoscaling
Name | Version |
---|---|
terraform | >= 1 |
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_ecs_task_definition.this | resource |
aws_iam_role.ecs_task_execution_role | resource |
aws_iam_role.ecs_task_role | resource |
aws_iam_role_policy_attachment.ecs_task_execution_role_policy_attachment | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
services | Map of ECS managed services to create. | any |
{} |
no |
tags | A mapping of tags to assign to all resources | map(string) |
{} |
no |
Name | Description |
---|---|
ecs_task_definitions | A revision of an ECS task definition to be used in aws_ecs_service |
ecs_task_execution_roles | AWS Docs https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html |
ecs_task_roles | AWS Docs https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-iam-roles.html |
- 📝 Use a succinct title and description.
- 🐛 Bugs & feature requests can be be opened
- 📶 Support questions are better asked on Stack Overflow
- 😊 Be nice, civil and polite (as always).
Copyright 2019 Ivan Katliarhcuk
MIT Licensed. See LICENSE for full details.
Submit a pull request
Currently maintained by Ivan Katliarchuk and these awesome contributors.
- Tags per resource
- Pass default values
- Strongly typed objects