Code Monkey home page Code Monkey logo

aws-ecs-cluster's Introduction

aws-ecs-cluster

A modified version of https://github.com/springload/terraform-aws-ecs-cluster

Usage

module "ecs-cluster" {
  source = "github.com/globeandmail/aws-ecs-cluster?ref=1.0"

  cluster_name       = my-ecs-cluster
  instance_type      = var.instance_type
  subnet_ids         = var.subnet_ids
  security_group_ids = var.security_group_ids
  vpc_id             = var.vpc_id
}

Inputs

Name Description Type Default Required
cluster_name Name of the ECS cluster string n/a yes
ami Name of the AMI image to use string "amzn2-ami-ecs-hvm-*-x86_64-ebs" no
cpu_unlimited Whether or not enable t2/t3 cpu unlimited (if true, might incur additional charges) string "false" no
ec2_key_name EC2 key name to attach to newly created EC2 instances string "" no
instance_type EC2 instance type string "t3.micro" no
instances_desired Number of EC2 instances desired string "1" no
security_group_ids list of security group IDs list [] no
spot Whether or not use Spot instances. Warning: most likely not suitable for production! string "false" no
subnet_ids list of subnet IDs list [] no
tags AWS tags map {} no
vpc_id VPC id to use string "" no

Outputs

Name Description
ecs_cluster_arn The ARN of this cluster
ecs_cluster_id The ARN of this cluster
ecs_nodes_role_arn The ARN of the ec2 role for the cluster nodes
ecs_nodes_role_id The ID of the ec2 role for the cluster nodes

aws-ecs-cluster's People

Contributors

tgam-smickeler avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

chaitu2023

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.