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
| <aname="input_attach_policy_jsons"></a> [attach\_policy\_jsons](#input\_attach\_policy\_jsons)| Controls whether policy\_jsons should be added to IAM role for Lambda Function |`bool`|`false`| no |
685
686
| <aname="input_attach_policy_statements"></a> [attach\_policy\_statements](#input\_attach\_policy\_statements)| Controls whether policy\_statements should be added to IAM role for Lambda Function |`bool`|`false`| no |
686
687
| <aname="input_attach_tracing_policy"></a> [attach\_tracing\_policy](#input\_attach\_tracing\_policy)| Controls whether X-Ray tracing policy should be added to IAM role for Lambda Function |`bool`|`false`| no |
688
+
| <aname="input_authorization_type"></a> [authorization\_type](#input\_authorization\_type)| The type of authentication that the Lambda Function URL uses. Set to 'AWS\_IAM' to restrict access to authenticated IAM users only. Set to 'NONE' to bypass IAM authentication and create a public endpoint. |`string`|`"NONE"`| no |
687
689
| <aname="input_build_in_docker"></a> [build\_in\_docker](#input\_build\_in\_docker)| Whether to build dependencies in Docker |`bool`|`false`| no |
688
690
| <aname="input_cloudwatch_logs_kms_key_id"></a> [cloudwatch\_logs\_kms\_key\_id](#input\_cloudwatch\_logs\_kms\_key\_id)| The ARN of the KMS Key to use when encrypting log data. |`string`|`null`| no |
689
691
| <aname="input_cloudwatch_logs_retention_in_days"></a> [cloudwatch\_logs\_retention\_in\_days](#input\_cloudwatch\_logs\_retention\_in\_days)| Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. |`number`|`null`| no |
690
692
| <aname="input_cloudwatch_logs_tags"></a> [cloudwatch\_logs\_tags](#input\_cloudwatch\_logs\_tags)| A map of tags to assign to the resource. |`map(string)`|`{}`| no |
691
693
| <aname="input_compatible_architectures"></a> [compatible\_architectures](#input\_compatible\_architectures)| A list of Architectures Lambda layer is compatible with. Currently x86\_64 and arm64 can be specified. |`list(string)`|`null`| no |
692
694
| <aname="input_compatible_runtimes"></a> [compatible\_runtimes](#input\_compatible\_runtimes)| A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. |`list(string)`|`[]`| no |
695
+
| <aname="input_cors"></a> [cors](#input\_cors)| CORS settings to be used by the Lambda Function URL |`any`|`{}`| no |
693
696
| <aname="input_create"></a> [create](#input\_create)| Controls whether resources should be created |`bool`|`true`| no |
694
697
| <aname="input_create_async_event_config"></a> [create\_async\_event\_config](#input\_create\_async\_event\_config)| Controls whether async event configuration for Lambda Function/Alias should be created |`bool`|`false`| no |
695
698
| <aname="input_create_current_version_allowed_triggers"></a> [create\_current\_version\_allowed\_triggers](#input\_create\_current\_version\_allowed\_triggers)| Whether to allow triggers on current version of Lambda Function (this will revoke permissions from previous version because Terraform manages only current resources) |`bool`|`true`| no |
696
699
| <aname="input_create_current_version_async_event_config"></a> [create\_current\_version\_async\_event\_config](#input\_create\_current\_version\_async\_event\_config)| Whether to allow async event configuration on current version of Lambda Function (this will revoke permissions from previous version because Terraform manages only current resources) |`bool`|`true`| no |
697
700
| <aname="input_create_function"></a> [create\_function](#input\_create\_function)| Controls whether Lambda Function resource should be created |`bool`|`true`| no |
701
+
| <aname="input_create_lambda_function_url"></a> [create\_lambda\_function\_url](#input\_create\_lambda\_function\_url)| Controls whether the Lambda Function URL resource should be created |`bool`|`false`| no |
698
702
| <aname="input_create_layer"></a> [create\_layer](#input\_create\_layer)| Controls whether Lambda Layer resource should be created |`bool`|`false`| no |
699
703
| <aname="input_create_package"></a> [create\_package](#input\_create\_package)| Controls whether Lambda package should be created |`bool`|`true`| no |
700
704
| <aname="input_create_role"></a> [create\_role](#input\_create\_role)| Controls whether IAM role for Lambda Function should be created |`bool`|`true`| no |
701
705
| <aname="input_create_unqualified_alias_allowed_triggers"></a> [create\_unqualified\_alias\_allowed\_triggers](#input\_create\_unqualified\_alias\_allowed\_triggers)| Whether to allow triggers on unqualified alias pointing to $LATEST version |`bool`|`true`| no |
702
706
| <aname="input_create_unqualified_alias_async_event_config"></a> [create\_unqualified\_alias\_async\_event\_config](#input\_create\_unqualified\_alias\_async\_event\_config)| Whether to allow async event configuration on unqualified alias pointing to $LATEST version |`bool`|`true`| no |
707
+
| <aname="input_create_unqualified_alias_lambda_function_url"></a> [create\_unqualified\_alias\_lambda\_function\_url](#input\_create\_unqualified\_alias\_lambda\_function\_url)| Whether to use unqualified alias pointing to $LATEST version in Lambda Function URL |`bool`|`true`| no |
703
708
| <aname="input_dead_letter_target_arn"></a> [dead\_letter\_target\_arn](#input\_dead\_letter\_target\_arn)| The ARN of an SNS topic or SQS queue to notify when an invocation fails. |`string`|`null`| no |
704
709
| <aname="input_description"></a> [description](#input\_description)| Description of your Lambda Function (or Layer) |`string`|`""`| no |
705
710
| <aname="input_destination_on_failure"></a> [destination\_on\_failure](#input\_destination\_on\_failure)| Amazon Resource Name (ARN) of the destination resource for failed asynchronous invocations |`string`|`null`| no |
@@ -790,6 +795,8 @@ No modules.
790
795
| <aname="output_lambda_function_qualified_arn"></a> [lambda\_function\_qualified\_arn](#output\_lambda\_function\_qualified\_arn)| The ARN identifying your Lambda Function Version |
791
796
| <aname="output_lambda_function_source_code_hash"></a> [lambda\_function\_source\_code\_hash](#output\_lambda\_function\_source\_code\_hash)| Base64-encoded representation of raw SHA-256 sum of the zip file |
792
797
| <aname="output_lambda_function_source_code_size"></a> [lambda\_function\_source\_code\_size](#output\_lambda\_function\_source\_code\_size)| The size in bytes of the function .zip file |
798
+
| <aname="output_lambda_function_url"></a> [lambda\_function\_url](#output\_lambda\_function\_url)| The URL of the Lambda Function URL |
799
+
| <aname="output_lambda_function_url_id"></a> [lambda\_function\_url\_id](#output\_lambda\_function\_url\_id)| The Lambda Function URL generated id |
793
800
| <aname="output_lambda_function_version"></a> [lambda\_function\_version](#output\_lambda\_function\_version)| Latest published version of Lambda Function |
794
801
| <aname="output_lambda_layer_arn"></a> [lambda\_layer\_arn](#output\_lambda\_layer\_arn)| The ARN of the Lambda Layer with version |
795
802
| <aname="output_lambda_layer_created_date"></a> [lambda\_layer\_created\_date](#output\_lambda\_layer\_created\_date)| The date Lambda Layer resource was created |
| <aname="output_lambda_function_qualified_arn"></a> [lambda\_function\_qualified\_arn](#output\_lambda\_function\_qualified\_arn)| The ARN identifying your Lambda Function Version |
74
74
| <aname="output_lambda_function_source_code_hash"></a> [lambda\_function\_source\_code\_hash](#output\_lambda\_function\_source\_code\_hash)| Base64-encoded representation of raw SHA-256 sum of the zip file |
75
75
| <aname="output_lambda_function_source_code_size"></a> [lambda\_function\_source\_code\_size](#output\_lambda\_function\_source\_code\_size)| The size in bytes of the function .zip file |
76
+
| <aname="output_lambda_function_url"></a> [lambda\_function\_url](#output\_lambda\_function\_url)| The URL of the Lambda Function URL |
77
+
| <aname="output_lambda_function_url_id"></a> [lambda\_function\_url\_id](#output\_lambda\_function\_url\_id)| The Lambda Function URL generated id |
76
78
| <aname="output_lambda_function_version"></a> [lambda\_function\_version](#output\_lambda\_function\_version)| Latest published version of Lambda Function |
77
79
| <aname="output_lambda_layer_arn"></a> [lambda\_layer\_arn](#output\_lambda\_layer\_arn)| The ARN of the Lambda Layer with version |
78
80
| <aname="output_lambda_layer_created_date"></a> [lambda\_layer\_created\_date](#output\_lambda\_layer\_created\_date)| The date Lambda Layer resource was created |
Copy file name to clipboardExpand all lines: variables.tf
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@ variable "create_role" {
28
28
default=true
29
29
}
30
30
31
+
variable"create_lambda_function_url" {
32
+
description="Controls whether the Lambda Function URL resource should be created"
33
+
type=bool
34
+
default=false
35
+
}
36
+
31
37
variable"putin_khuylo" {
32
38
description="Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo!"
description="Whether to use unqualified alias pointing to $LATEST version in Lambda Function URL"
220
+
type=bool
221
+
default=true
222
+
}
223
+
224
+
variable"authorization_type" {
225
+
description="The type of authentication that the Lambda Function URL uses. Set to 'AWS_IAM' to restrict access to authenticated IAM users only. Set to 'NONE' to bypass IAM authentication and create a public endpoint."
226
+
type=string
227
+
default="NONE"
228
+
}
229
+
230
+
variable"cors" {
231
+
description="CORS settings to be used by the Lambda Function URL"
0 commit comments