k911 / terraform-workshops-api-lambda-lucky-gen-complete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miquido

miquido-terraform-workshops-api-lambda-lucky-gen

Example terraform module provisioning API Gateway with Lambda function

Terraform Module

GitHub Repository: https://github.com/k911/terraform-workshops-api-lambda-lucky-gen-complete

Usage

module "lucky-api" {
  source      = "git::ssh://git@github.com/k911/terraform-workshops-api-lambda-lucky-gen-complete.git?ref=tags/1.0.0"
  awsRegion   = "eu-central-1"
  accountId   = "xxxx"
  apiName     = "luckyapi"
  lambdaName  = "luckygen"
}

Inputs

Name Description Type Default Required
accountId - string - yes
apiName - string - yes
awsRegion - string - yes
lambdaName - string - yes

Outputs

Name Description
api_url -
curl_script -

Makefile Targets

Available targets:

  help                                Help screen
  help/all                            Display help for all targets
  help/short                          This help short screen
  lint                                Lint terraform code

Developing

  1. Make changes in terraform files

  2. Regerate documentation

    bash <(curl -s https://terraform.s3.k.miquido.net/update.sh)
  3. Run lint

    make lint
    

Copyright

Copyright © 2017-2019 Miquido

Contributors

Konrad Obal
Konrad Obal

About


Languages

Language:HCL 83.4%Language:Makefile 10.1%Language:Python 6.5%