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_memory_size"></a> [memory\_size](#input\_memory\_size)| Amount of memory in MB your Lambda Function can use at runtime. |`number`|`128`| no |
418
419
| <aname="input_package_type"></a> [package\_type](#input\_package\_type)| The Lambda deployment package type. Valid values are Zip and Image. |`string`|`"Zip"`| no |
419
420
| <aname="input_publish"></a> [publish](#input\_publish)| Whether to publish creation/change as new Lambda Function Version. |`bool`|`false`| no |
421
+
| <aname="input_replace_security_groups_on_destroy"></a> [replace\_security\_groups\_on\_destroy](#input\_replace\_security\_groups\_on\_destroy)| (Optional) Whether to replace the security groups on the function's VPC configuration prior to destruction. Removing these security group associations prior to function destruction can speed up security group deletion times of AWS's internal cleanup operations. By default, the security groups will be replaced with the default security group in the function's configured VPC. Set the `replacement_security_group_ids` attribute to use a custom list of security groups for replacement. |`bool`|`null`| no |
422
+
| <aname="input_replacement_security_group_ids"></a> [replacement\_security\_group\_ids](#input\_replacement\_security\_group\_ids)| (Optional) List of security group IDs to assign to the function's VPC configuration prior to destruction. `replace_security_groups_on_destroy` must be set to `true` to use this attribute. |`list(string)`|`null`| no |
420
423
| <aname="input_reserved_concurrent_executions"></a> [reserved\_concurrent\_executions](#input\_reserved\_concurrent\_executions)| The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. |`number`|`-1`| no |
421
424
| <aname="input_runtime"></a> [runtime](#input\_runtime)| The runtime environment for the Lambda function you are uploading. |`string`|`""`| no |
422
425
| <aname="input_s3_bucket"></a> [s3\_bucket](#input\_s3\_bucket)| The S3 bucket location containing the function's deployment package. Conflicts with filename and image\_uri. This bucket must reside in the same AWS region where you are creating the Lambda function. |`string`|`null`| no |
@@ -429,7 +432,7 @@ No modules.
429
432
| <aname="input_tags"></a> [tags](#input\_tags)| A mapping of tags to assign to the Lambda function and all resources supporting tags. |`map(string)`|`{}`| no |
430
433
| <aname="input_timeout"></a> [timeout](#input\_timeout)| The amount of time your Lambda Function has to run in seconds. |`number`|`3`| no |
431
434
| <aname="input_tracing_config_mode"></a> [tracing\_config\_mode](#input\_tracing\_config\_mode)| Tracing config mode of the Lambda function. Can be either PassThrough or Active. |`string`|`null`| no |
432
-
| <aname="input_vpc_config"></a> [vpc\_config](#input\_vpc\_config)| Provide this to allow your function to access your VPC (if both 'subnet\_ids' and 'security\_group\_ids' are empty then vpc\_config is considered to be empty or unset, see https://docs.aws.amazon.com/lambda/latest/dg/vpc.html for details). | <pre>object({<br> security_group_ids = list(string)<br> subnet_ids = list(string)<br> })</pre> |`null`| no |
435
+
| <aname="input_vpc_config"></a> [vpc\_config](#input\_vpc\_config)| Provide this to allow your function to access your VPC (if both `subnet_ids` and `security_group_ids` are empty then vpc\_config is considered to be empty or unset, see https://docs.aws.amazon.com/lambda/latest/dg/vpc.html for details). | <pre>object({<br> ipv6_allowed_for_dual_stack = optional(bool, false)<br> security_group_ids = list(string)<br> subnet_ids = list(string)<br> })</pre> |`null`| no |
0 commit comments