Code Monkey home page Code Monkey logo

terraform-aws-ecs's Introduction

AWS Elastic Container Service (ECS) Terraform module

Terraform module which creates ECS resources on AWS.

These types of resources are supported:

The root module (this) only creates ecs_cluster, to create other resources, please instantiate the submodules.

Terraform versions

Supports only Terraform ~> 0.12.

Requires Terraform AWS Provider version >=2.42.0 for Capacity Provider options.

Usage

module "ecs_cluster" {
  source  = "HENNGE/ecs/aws"
  version = "1.0.0"

  name = "${local.prefix}-cluster"
}

Examples

See examples folder for usage guide.

Versioning

This module uses Semver.

x.y.z

x shall change when there's major language or breaking feature change (e.g. 0.11 to 0.12 which drastically change the language)

y shall change when there's feature addition which is not breaking existing API (e.g. addition of some parameters with default value)

z shall change when there's documentation updates, minor fixes, etc.

Requirements

Name Version
terraform >= 0.12.26
aws >= 3.35.0

Providers

Name Version
aws >= 3.35.0

Modules

No modules.

Resources

Name Type
aws_ecs_cluster.main resource

Inputs

Name Description Type Default Required
capacity_providers List of short names or full Amazon Resource Names (ARNs) of one or more capacity providers to associate with the cluster. Valid values also include FARGATE and FARGATE_SPOT. list(string) null no
default_capacity_provider_strategy The capacity provider strategy to use by default for the cluster. Can be one or more. List of map with corresponding items in docs. Terraform Docs list(any) [] no
enable_container_insights Enable container insights. bool false no
name Cluster name. string n/a yes
settings List of maps with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Terraform Docs list(any) [] no
tags Key-value mapping of resource tags. map(string) {} no

Outputs

Name Description
arn ARN of the generated cluster
name Name of the Cluster

Authors

Module managed by HENNGE.

License

Apache 2 Licensed. See LICENSE for full details.

terraform-aws-ecs's People

Contributors

michaelaw320 avatar flywheelnz avatar stupoid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.