File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,14 @@ module "api_gateway" {
8787 }
8888 }
8989
90+ "GET /some-route-with-iam" = {
91+ authorization_type = "AWS_IAM"
92+
93+ integration = {
94+ uri = "arn:aws:lambda:eu-west-1:052235179155:function:my-function"
95+ }
96+ }
97+
9098 "$default" = {
9199 integration = {
92100 uri = "arn:aws:lambda:eu-west-1:052235179155:function:my-default-function"
Original file line number Diff line number Diff line change @@ -104,6 +104,14 @@ module "api_gateway" {
104104 }
105105 }
106106
107+ " GET /some-route-with-iam" = {
108+ authorization_type = " AWS_IAM"
109+
110+ integration = {
111+ uri = module.lambda_function.lambda_function_arn
112+ }
113+ }
114+
107115 " POST /start-step-function" = {
108116 integration = {
109117 type = " AWS_PROXY"
You can’t perform that action at this time.
0 commit comments