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_publish"></a> [publish](#input\_publish)| Whether to publish creation/change as new Lambda Function Version. |`bool`|`false`| no |
817
817
| <aname="input_putin_khuylo"></a> [putin\_khuylo](#input\_putin\_khuylo)| Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo!|`bool`|`true`| no |
818
818
| <aname="input_recreate_missing_package"></a> [recreate\_missing\_package](#input\_recreate\_missing\_package)| Whether to recreate missing Lambda package if it is missing locally or not |`bool`|`true`| no |
819
+
| <aname="input_replace_security_groups_on_destroy"></a> [replace\_security\_groups\_on\_destroy](#input\_replace\_security\_groups\_on\_destroy)| (Optional) When true, all security groups defined in vpc\_security\_group\_ids will be replaced with the default security group after the function is destroyed. Set the replacement\_security\_group\_ids variable to use a custom list of security groups for replacement instead. |`bool`|`null`| no |
820
+
| <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 orphaned Lambda function network interfaces upon destruction. replace\_security\_groups\_on\_destroy must be set to true to use this attribute. |`list(string)`|`[]`| no |
819
821
| <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 Function from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. |`number`|`-1`| no |
820
822
| <aname="input_role_description"></a> [role\_description](#input\_role\_description)| Description of IAM role to use for Lambda Function |`string`|`null`| no |
821
823
| <aname="input_role_force_detach_policies"></a> [role\_force\_detach\_policies](#input\_role\_force\_detach\_policies)| Specifies to force detaching any policies the IAM role has before destroying it. |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: variables.tf
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,18 @@ variable "snap_start" {
223
223
default=false
224
224
}
225
225
226
+
variable"replace_security_groups_on_destroy" {
227
+
description="(Optional) When true, all security groups defined in vpc_security_group_ids will be replaced with the default security group after the function is destroyed. Set the replacement_security_group_ids variable to use a custom list of security groups for replacement instead."
228
+
type=bool
229
+
default=null
230
+
}
231
+
232
+
variable"replacement_security_group_ids" {
233
+
description="(Optional) List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. replace_security_groups_on_destroy must be set to true to use this attribute."
0 commit comments