You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: infrastructure/modules/gateway/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ module "api_gateway_resource" {
76
76
| <aname="input_http_methods"></a> [http\_methods](#input\_http\_methods)| List of allowed HTTP methods for the resource (e.g., ["GET", "POST"]). |`list(string)`| n/a | yes |
77
77
| <aname="input_origin"></a> [origin](#input\_origin)| Allowed origin for CORS requests (e.g., '*', or specific domain). |`string`|`"'*'"`| no |
78
78
| <aname="input_parent_id"></a> [parent\_id](#input\_parent\_id)| ID of the parent API Gateway resource (e.g., root path or another nested resource). |`string`| n/a | yes |
79
+
| <aname="input_request_parameters"></a> [request\_parameters](#input\_request\_parameters)| Request parameters for the API Gateway method. |`map(string)`|`{}`| no |
79
80
| <aname="input_require_credentials"></a> [require\_credentials](#input\_require\_credentials)| Sets the value of 'Access-Control-Allow-Credentials' which controls whether auth cookies are needed. |`bool`| n/a | yes |
|[archive_file.lambda](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file)| data source |
66
64
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
67
65
|[aws_iam_policy_document.assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
68
66
|[aws_iam_policy_document.lambda_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
69
-
|[aws_iam_policy_document.merged_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
70
67
## Inputs
71
68
72
69
| Name | Description | Type | Default | Required |
| <aname="input_bucket_name"></a> [bucket\_name](#input\_bucket\_name)| The name of the S3 bucket the Lambda will proxy requests to. |`string`| n/a | yes |
75
-
| <aname="input_default_policies"></a> [default\_policies](#input\_default\_policies)| List of default IAM policy ARNs to attach to the Lambda execution role. |`list(string)`| <pre>[<br/> "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"<br/>]</pre> | no |
71
+
| <aname="input_bucket_names"></a> [bucket\_names](#input\_bucket\_names)| The name of the S3 buckets the Lambda will proxy requests to. |`list(string)`| n/a | yes |
76
72
| <aname="input_handler"></a> [handler](#input\_handler)| Handler function in the code package (e.g., 'index.handler'). |`string`| n/a | yes |
77
-
| <aname="input_iam_role_policy_documents"></a> [iam\_role\_policy\_documents](#input\_iam\_role\_policy\_documents)| List of IAM policy document ARNs to attach to the Lambda execution role. |`list(string)`|`[]`|no|
73
+
| <aname="input_iam_role_policies"></a> [iam\_role\_policies](#input\_iam\_role\_policies)| List of IAM policy ARNs or JSON documents to attach to the Lambda execution role. |`list(string)`|n/a|yes|
78
74
| <aname="input_lambda_ephemeral_storage"></a> [lambda\_ephemeral\_storage](#input\_lambda\_ephemeral\_storage)| Amount of ephemeral storage (in MB) allocated to the Lambda function. |`number`|`512`| no |
79
75
| <aname="input_memory_size"></a> [memory\_size](#input\_memory\_size)| Amount of memory (in MB) to allocate to the Lambda function. |`number`|`128`| no |
80
76
| <aname="input_name"></a> [name](#input\_name)| Unique name for the Lambda function. |`string`| n/a | yes |
0 commit comments