-
-
Save ahakimx/b87e90101547801a3cce5d8033bb88a3 to your computer and use it in GitHub Desktop.
This file contains 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_policy" "adminUser" { | |
name = "AdminUsers" | |
policy = file("admin-policy.json") | |
} | |
resource "aws_iam_user_policy_attachment" "admin-access" { | |
user = aws_iam_user.admin_user.name | |
policy_arn = aws_iam_policy.adminUser.arn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment