Skip to content

hadenlabs/terraform-aws-api-gateway

Repository files navigation

License

Version:0.1.1
Web:https://github.com/hadenlabs/terraform-aws-api-gateway
Download:https://github.com/hadenlabs/terraform-aws-api-gateway
Source:https://github.com/hadenlabs/terraform-aws-api-gateway
Keywords:terraform-aws-api-gateway

The module works in two distinct modes:

Include this repository as a module in your existing terraform code:

module "api-gateway" {
    source      = "git::https://github.com/hadenlabs/terraform-aws-api-gateway.git?ref=tags/0.1.1"
    name        = "${var.name}"
    namespace   = "${var.namespace}"
    stage       = "${var.stage}"
    rest_api_id = "${var.rest_api_id}"
    resource_id = "${var.resource_id}"
    method      = "${var.method}"
    path        = "${var.path}"
    lambda      = "${var.lambda}"
    region      = "${var.region}"
    account_id  = "${var.account_id}"
}
Name Default Description Required
namespace hadenlabs Namespace (e.g. hd or hadenlabs) Yes
stage dev Stage (e.g. prod, dev, staging) Yes
name name The Name of the application(e.g. notification or call) Yes
rest_api_id   The ID of the associated REST API Yes
resource_id   The API resource ID Yes
method   The HTTP method Yes
path   The API resource path Yes
lambda   The lambda name to invoke Yes
region   The AWS region, e.g., eu-west-1 Yes
account_id   The AWS account ID Yes

Apache 2 License. See LICENSE_ for full details.

Please see CHANGELOG for more information what has changed recently.

Please see CONTRIBUTING for details.

Releases are managed using github release feature. We use [Semantic Versioning](http://semver.org) for all the releases. Every change made to the code base will be referred to in the release notes (except for cleanups and refactorings).

Made with ❤️ ️☕️ and 🍕 by company.