Skip to content

Commit

Permalink
Merge pull request #230 from tablexi/lp-add_groups
Browse files Browse the repository at this point in the history
ADD IAM groups to s3/full module
  • Loading branch information
phoolish authored Aug 18, 2023
2 parents f412a6c + ac94f96 commit 24a4643
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions aws/iam/s3/full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ resource "aws_iam_policy_attachment" "mod" {
name = "s3-${var.name}-${var.env}-access"
users = var.users
roles = var.roles
groups = var.groups
policy_arn = aws_iam_policy.mod.arn
}
4 changes: 4 additions & 0 deletions aws/iam/s3/full/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ variable "roles" {
default = []
}

variable "groups" {
type = list(string)
default = []
}

0 comments on commit 24a4643

Please sign in to comment.