Giter Club home page Giter Club logo

aws-ecs-cluster-example-terraform's Introduction

AWS EC2 Instance Terraform

CircleCI

This is an example bit of code written in Terraform at version 0.12.3. This shows you the fundamentals of Terraform and some cool little utilities you can use to maximise your development process and ensure maximum code quality in an automated fashion.

Features

  • Creation of an ECS Cluster with a simple/example service
  • Automated Semantic Versioning/Tagging and updating of CHANGELOG.md
  • Creation of an S3 bucket for data storage
  • Attachment of an IAM policy to acccess that bucket

Requirements

Terraform module which creates EC2 instance(s) on AWS.

These types of resources are supported:

Usage

terraform init
terraform plan
terraform apply

Notes

Inputs

Name Description Type Default Required
additional_user_data_script extra stuff you want to put into your user-data.sh scripts string "echo example ecs cluster being provisioned" no
ecs_cluster_name Default name of the ECS cluster string "jamesg-test-cluster" no
egress_cidr list [ "0.0.0.0/0" ] no
ingress_cidr list [ "0.0.0.0/0" ] no
region region string "eu-west-1" no
s3_bucket_name string "jamesg-data-test-bucket" no
vpc_cidr string "10.1.0.0/16" no

Outputs

Name Description
cluster_id
ecr_registry_url
instance_role
instance_sg_id
s3_data_bucket
this_iam_instance_profile_id

Authors

Code written by James Gonzalez

aws-ecs-cluster-example-terraform's People

Contributors

james-gonzalez avatar

Stargazers

 avatar  avatar

Watchers

 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.