Skip to content

terraform-module/terraform-aws-ecs-bootstrap

Folders and files

NameName
Last commit message
Last commit date
Jun 19, 2022
Jun 19, 2022
Jul 2, 2022
May 2, 2022
May 2, 2022
Jun 28, 2022
May 2, 2022
May 2, 2022
May 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
Jul 2, 2022
May 2, 2022

Repository files navigation

ECS Services Module

Terraform ECS services bootstrap


Maintenance GitHub forks


Usage example

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"
}

Examples

See examples directory for working examples to reference

Assumptions

Available features

  • Create/Update ECS tasks
  • Create/Update ECS services
  • CPU based autoscaling

Requirements

Name Version
terraform >= 1

Providers

Name Version
aws n/a

Modules

No modules.

Resources

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

Inputs

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

Outputs

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

📝 Guidelines

  • 📝 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).

License

Copyright 2019 Ivan Katliarhcuk

MIT Licensed. See LICENSE for full details.

How to Contribute

Submit a pull request

Authors

Currently maintained by Ivan Katliarchuk and these awesome contributors.

ForTheBadge uses-git

Terraform Registry

Resources

TODO

  • Tags per resource
  • Pass default values
  • Strongly typed objects