File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,15 @@ module "lambda" {
62
62
ignore_source_code_hash = true
63
63
64
64
# dummy package, package is delegated to CI pipeline
65
- local_existing_package = data. archive_file . dummy . output_path
66
- source_path = var. source_path
67
- policies = var. managed_policy_arns
68
- policy_jsons = var. policy_jsons
69
- policy_json = var. policy_json
70
- policy_statements = var. policy_statements
71
- number_of_policy_jsons = var. number_of_policy_jsons
72
- number_of_policies = var. number_of_managed_policies
65
+ local_existing_package = data. archive_file . dummy . output_path
66
+ recreate_missing_package = var. recreate_missing_package
67
+ source_path = var. source_path
68
+ policies = var. managed_policy_arns
69
+ policy_jsons = var. policy_jsons
70
+ policy_json = var. policy_json
71
+ policy_statements = var. policy_statements
72
+ number_of_policy_jsons = var. number_of_policy_jsons
73
+ number_of_policies = var. number_of_managed_policies
73
74
74
75
use_existing_cloudwatch_log_group = ! var. create_lambda_cloudwatch_log_group
75
76
cloudwatch_logs_retention_in_days = var. cloudwatch_logs_retention_in_days
Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ variable "create_lambda_cloudwatch_log_group" {
40
40
default = true
41
41
}
42
42
43
+ variable "recreate_missing_package" {
44
+ description = " Controls whether to recreate the package if it is missing"
45
+ type = bool
46
+ default = true
47
+ }
48
+
43
49
# #####################################
44
50
# AWS OIDC integration GitHub Actions
45
51
# #####################################
You can’t perform that action at this time.
0 commit comments