Last active
February 27, 2020 15:19
-
-
Save ezalejski/5c80ad902304d0bfad5d3de779ff2f72 to your computer and use it in GitHub Desktop.
Terraform group membership example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_iam_group_membership" "administrator_access_prod" { | |
name = "administrator-access-prod" | |
users = [ | |
aws_iam_user.first_user.name, | |
aws_iam_user.second_user.name, | |
] | |
group = aws_iam_group.administrator_access_prod.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment