keng000 / ecs-gen

A generator of terraform script that provision AWS Fargate and around resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecs-gen

This is a cli tool to generate AWS Fargate api infrastructure which are provisioned by terraform.

Description

Usage

NAME:
   ecs-gen

USAGE:
   ecs-gen [global options] command [command options] [arguments...]

AUTHOR:
   keng000

COMMANDS:
   init     Define basic infrastructure. e.g. VPC, Subnet, SG, TG...
   api      Generate target groups and ecr repos with auto scale setting
   deploy   Generate region derectory for module deploy
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

ecs-gen init

NAME:
   ecs-gen init - Define basic infrastructure. e.g. VPC, Subnet, SG, TG...

USAGE:
   ecs-gen init [PROJECT]

ecs-gen api

NAME:
   ecs-gen api - Generate target groups and ecr repos with auto scale setting

USAGE:
   ecs-gen api [APIs...]

ecs-gen deploy

NAME:
   ecs-gen deploy - Generate region derectory for module deploy

USAGE:
   ecs-gen deploy [command options] [REGIONs...]

OPTIONS:
   --list, -l  List available region list

Install

To install, use go get:

$ go get -d github.com/keng000/ecs-gen/
$ cd $GOPATH/src/github.com/keng000/ecs-gen/
$ go install

Contribution

  1. Fork (https://github.com/keng000/ecs-gen//fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

keng000

Deps

  • go-assets-builder
  • go-assets

when you update the tpml file, then you need to append into assets. run below.

$ go generate ./...

About

A generator of terraform script that provision AWS Fargate and around resources.

License:MIT License


Languages

Language:Go 99.1%Language:Makefile 0.9%