Git Product home page Git Product logo

eks-asg-tests's Introduction

eks-asg-tests

Directories structure

eks-asg-tests/
├── .circleci
└── terraform
    ├── aws_state       # (1) create s3/dynamodb state bucket/table
    ├── aws_infra       # (2) create aws project inrastructure
    └── aws_infra_apps  # (3) create ingress controller and monitoring apps

CircleCI

Contexts (Organization settings --> Context)
  1. production (env-prod context)
    • CI_ENVIRONMENT --> production
    • AWS_REGION
  2. staging (env-staging context)
    • CI_ENVIRONMENT --> staging
    • AWS_REGION
Project vars (Project settings --> Environment Variables)
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_DEFAULT_REGION (need to initialize tf state S3 bucket)

Terraform

  • S3 bucket name --> ${CIRCLE_PROJECT_REPONAME}
  • S3 bucket key --> ${CI_ENVIRONMENT}/${AWS_REGION}/terraform.tfstate
  • S3 bucket init region --> ${AWS_DEFAULT_REGION}
  • DynamoDB locks tablename --> ${CIRCLE_PROJECT_REPONAME}-tfstate-locks

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.