We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5527d43 commit ab2b3ddCopy full SHA for ab2b3dd
main.tf
@@ -70,7 +70,7 @@ resource "aws_lambda_permission" "apigw_lambda" {
70
function_name = aws_lambda_function.lambda.function_name
71
principal = "apigateway.amazonaws.com"
72
73
- source_arn = "arn:aws:execute-api:us-west-2:${var.account-id}:${aws_api_gateway_rest_api.api.id}/*"
+ source_arn = aws_api_gateway_rest_api.api.execution_arn
74
}
75
76
resource "aws_api_gateway_domain_name" "api_domain" {
0 commit comments