File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,11 @@ module "lambda" {
50
50
authorization_type = var. authorization_type
51
51
cors = var. cors
52
52
53
- role_name = var. role_name
54
- attach_policy_jsons = var. attach_policy_jsons
55
- attach_policy_json = var. attach_policy_json
56
- attach_network_policy = var. attach_network_policy
53
+ role_name = var. role_name
54
+ attach_policy_jsons = var. attach_policy_jsons
55
+ attach_policy_json = var. attach_policy_json
56
+ attach_policy_statements = var. attach_policy_statements
57
+ attach_network_policy = var. attach_network_policy
57
58
58
59
ignore_source_code_hash = true
59
60
Original file line number Diff line number Diff line change @@ -243,6 +243,12 @@ variable "policy_jsons" {
243
243
default = []
244
244
}
245
245
246
+ variable "attach_policy_statements" {
247
+ description = " Controls whether policy_jsons should be added to IAM role for Lambda Function"
248
+ type = bool
249
+ default = false
250
+ }
251
+
246
252
variable "policy_statements" {
247
253
description = " Additional Inline Lambda Policy Statements"
248
254
type = any
You can’t perform that action at this time.
0 commit comments