File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,11 @@ module "lambda" {
5050 authorization_type = var. authorization_type
5151 cors = var. cors
5252
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
5758
5859 ignore_source_code_hash = true
5960
Original file line number Diff line number Diff line change @@ -243,6 +243,12 @@ variable "policy_jsons" {
243243 default = []
244244}
245245
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+
246252variable "policy_statements" {
247253 description = " Additional Inline Lambda Policy Statements"
248254 type = any
You can’t perform that action at this time.
0 commit comments