Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Remove deprecated argument stage_key
Browse files Browse the repository at this point in the history
  • Loading branch information
jahodfra committed Mar 8, 2019
1 parent ee67e5c commit 2b026a6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions aws-lambda-scorer/terraform-recipe/api_gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ resource "aws_api_gateway_usage_plan" "scorer_usage_plan" {

resource "aws_api_gateway_api_key" "scorer_api_key" {
name = "${local.escaped_id}"

stage_key {
rest_api_id = "${aws_api_gateway_rest_api.scorer_api.id}"
stage_name = "${aws_api_gateway_deployment.scorer_api_deployment.stage_name}"
}
}

resource "aws_api_gateway_usage_plan_key" "scorer_usage_plan" {
Expand Down

0 comments on commit 2b026a6

Please sign in to comment.