Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
windWingWalker committed Jul 29, 2022
1 parent bed7718 commit 37867e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions iac/modules/api-route/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ resource "aws_lambda_permission" "default" {
function_name = var.ms_name
principal = "apigateway.amazonaws.com"

source_arn = "${aws_apigatewayv2_api.default.execution_arn}/*/*"

depends_on = [
aws_apigatewayv2_api.default
]
source_arn = "${data.aws_apigatewayv2_api.default.execution_arn}/*/*"
}

0 comments on commit 37867e9

Please sign in to comment.