File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,13 @@ module "lambda" {
4444 image_config_working_directory = var. image_config_working_directory
4545 snap_start = var. snap_start
4646
47- create_current_version_allowed_triggers = var. create_current_version_allowed_triggers
48- allowed_triggers = var. allowed_triggers
47+ create_current_version_allowed_triggers = var. create_current_version_allowed_triggers
48+ create_async_event_config = var. create_async_event_config
49+ create_current_version_async_event_config = var. create_current_version_async_event_config
50+ create_unqualified_alias_async_event_config = var. create_unqualified_alias_async_event_config
51+ destination_on_failure = var. destination_on_failure
52+ destination_on_success = var. destination_on_success
53+ allowed_triggers = var. allowed_triggers
4954
5055 create_lambda_function_url = var. create_lambda_function_url
5156 create_unqualified_alias_lambda_function_url = var. create_unqualified_alias_lambda_function_url
Original file line number Diff line number Diff line change @@ -477,3 +477,34 @@ variable "enable_lambda_update_evt_src_mapping" {
477477 type = bool
478478 default = false
479479}
480+
481+ // async
482+ variable "create_async_event_config" {
483+ description = " Whether to create async event configuration for Lambda Function"
484+ type = bool
485+ default = false
486+ }
487+
488+ variable "create_current_version_async_event_config" {
489+ description = " Whether to create async event configuration for current version of Lambda Function (this will revoke async event configuration from previous version because Terraform manages only current resources)"
490+ type = bool
491+ default = true
492+ }
493+
494+ variable "create_unqualified_alias_async_event_config" {
495+ description = " Whether to create async event configuration for unqualified alias pointing to $LATEST version of Lambda Function"
496+ type = bool
497+ default = true
498+ }
499+
500+ variable "destination_on_failure" {
501+ description = " The Amazon Resource Name (ARN) of the destination resource for failed invocations."
502+ type = string
503+ default = null
504+ }
505+
506+ variable "destination_on_success" {
507+ description = " The Amazon Resource Name (ARN) of the destination resource for successful invocations."
508+ type = string
509+ default = null
510+ }
You can’t perform that action at this time.
0 commit comments