Skip to content

Commit 24a4643

Browse files
authored
Merge pull request #230 from tablexi/lp-add_groups
ADD IAM groups to s3/full module
2 parents f412a6c + ac94f96 commit 24a4643

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

aws/iam/s3/full/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ resource "aws_iam_policy_attachment" "mod" {
3030
name = "s3-${var.name}-${var.env}-access"
3131
users = var.users
3232
roles = var.roles
33+
groups = var.groups
3334
policy_arn = aws_iam_policy.mod.arn
3435
}

aws/iam/s3/full/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ variable "roles" {
1818
default = []
1919
}
2020

21+
variable "groups" {
22+
type = list(string)
23+
default = []
24+
}

0 commit comments

Comments
 (0)