Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.56 KB

README-HEADER.md

File metadata and controls

54 lines (34 loc) · 1.56 KB

PBS TF ECS Task Definition Module

Installation

Using the Repo Source

github.com/pbs/terraform-aws-ecs-task-definition-module?ref=x.y.z

Alternative Installation Methods

More information can be found on these install methods and more in the documentation here.

Usage

This provisions a task definition for use with an ECS service.

Most of the time, you shouldn't have to use this module directly. It is integrated into the ECS service module, allowing you to specify most important configurations that are relevant to your service there unless you have very particular needs for your task definition.

Integrate this module like so:

module "task" {
  source = "github.com/pbs/terraform-aws-ecs-task-definition-module?ref=x.y.z"

  # Tagging Parameters
  organization = var.organization
  environment  = var.environment
  product      = var.product
  repo         = var.repo

  # Optional Parameters
  image_repo = "nginx"
  image_tag = "latest"
}

Adding This Version of the Module

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

x.y.z

Note, however that subtrees can be altered as desired within repositories.

Further documentation on usage can be found here.

Below is automatically generated documentation on this Terraform module using terraform-docs