Coder Social home page Coder Social logo

adamwshero / terraform-aws-api-gateway Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 4.0 727 KB

Terragrunt friendly module to create AWS API Gateway (V1) w\Optional WAF, many stages/api keys/usage plans using the OpenAPI 3.x spec. πŸ‡ΊπŸ‡¦

Home Page: https://registry.terraform.io/modules/adamwshero/api-gateway

License: Apache License 2.0

HCL 100.00%

terraform-aws-api-gateway's People

Contributors

adamwshero avatar arkhoss avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

terraform-aws-api-gateway's Issues

Invalid index

When i try to run i see following error:

β”‚ Error: Invalid index
β”‚
β”‚ on api.tf line 133, in resource "aws_api_gateway_usage_plan_key" "this":
β”‚ 133: usage_plan_id = aws_api_gateway_usage_plan.this[each.value.usage_plan].id
β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚ aws_api_gateway_usage_plan.this is object with 1 attribute "open-use-internal-plan"
β”‚ β”‚ each.value.usage_plan is "open-use-internal-dev"
β”‚
β”‚ The given key does not identify an element in this collection value.

What am i suppose to pass in
usage_plan_id = aws_api_gateway_usage_plan.this[each.value.usage_plan].id

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.