dongnguyenltqb / tg-ecs-template

a template for ecs with service and task def, role etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terragrunt example

  1. Structure
  • /code
    • /components
      • /network
      • /ec2
    • /modules
      • /vpc
  • /infra-live
    • /dev
      • /network
      • /ec2
    • /prod
      • /network
      • /ec2
  • /vars
    • dev.tfvars
    • prod.tfvars
  1. Command
  • to setup remote tf state bucket

    ./setup-tf-state.sh
  • to spin up infra for an environment like dev or staging

    cd live/ENV
    tg run-all apply -var-file=$PATH_TO_VAR_FILE

About

a template for ecs with service and task def, role etc.


Languages

Language:HCL 99.6%Language:Shell 0.4%