Skip to content

Commit

Permalink
Merge pull request #4 from mbenson/permissions_boundary
Browse files Browse the repository at this point in the history
support role_permissions_boundary in rotation lambda
  • Loading branch information
JCapriotti authored Sep 18, 2022
2 parents e9357f2 + 6d1580a commit 4287814
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ module "rotation_lambda" {
}
}

recreate_missing_package = var.recreate_missing_package
recreate_missing_package = var.recreate_missing_package
role_permissions_boundary = var.role_permissions_boundary

attach_policy_jsons = true
policy_jsons = local.lambda_policies
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ variable "recreate_missing_package" {
description = "Whether to recreate missing Lambda package if it is missing locally or not"
type = bool
default = true
}

variable "role_permissions_boundary" {
description = "Optional permissions boundary for rotation lambda IAM role."
type = string
default = null
}

0 comments on commit 4287814

Please sign in to comment.