Skip to content

kabisa/terraform-aws-manual-scaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-manual-scaler

For when autoscaling doesn't cut it

Example

module "manual_scaler" {
  source      = "git@github.com:kabisa/terraform-aws-manual-scaler.git?ref=0.1.0"
  account_id  = var.account_id
  asg         = "eks-f6bc4178-64b2-e25a-23c3-5bdb5e7e19e8"
  domain_name = "example.com"
  subdomain   = "scale-button"
  region      = var.region
}

Development

In the Code folder you can use the Pipfile to install the required libs.

Requirements:

  • Pipenv
pip install pipenv
# or
# brew install pipenv 
  • Docker

With the pipenv install command you can then install all dependencies on your machine These dependencies will be used to build the Lambda zip

Building:

cd code
pipenv install
pipenv shell
./build.sh