We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f412a6c + ac94f96 commit 24a4643Copy full SHA for 24a4643
aws/iam/s3/full/main.tf
@@ -30,5 +30,6 @@ resource "aws_iam_policy_attachment" "mod" {
30
name = "s3-${var.name}-${var.env}-access"
31
users = var.users
32
roles = var.roles
33
+ groups = var.groups
34
policy_arn = aws_iam_policy.mod.arn
35
}
aws/iam/s3/full/variables.tf
@@ -18,3 +18,7 @@ variable "roles" {
18
default = []
19
20
21
+variable "groups" {
22
+ type = list(string)
23
+ default = []
24
+}
0 commit comments