Created
January 27, 2021 22:41
-
-
Save gbernat/098f5818dae6e5b533da445a64436224 to your computer and use it in GitHub Desktop.
terraform iam
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_role_policy" "containment_and_forensics_policy" { | |
name = "containment_and_forensics_policy" | |
role = aws_iam_role.containment_and_forensics_role.id | |
policy = data.aws_iam_policy_document.containment_and_forensics_policy_document.json | |
} | |
resource "aws_iam_role" "containment_and_forensics_role" { | |
name = "containment_and_forensics_role" | |
assume_role_policy = data.aws_iam_policy_document.containment_and_forensics_assume_policy_document.json | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment