Skip to content

Instantly share code, notes, and snippets.

@Kulasangar
Created September 1, 2018 19:28
Show Gist options
  • Save Kulasangar/ff53b5bbf9fb99a7e48a53f262725410 to your computer and use it in GitHub Desktop.
Save Kulasangar/ff53b5bbf9fb99a7e48a53f262725410 to your computer and use it in GitHub Desktop.
resource "aws_iam_policy_attachment" "test-attach" {
name = "test-attachment"
roles = ["${aws_iam_role.ec2_s3_access_role.name}"]
policy_arn = "${aws_iam_policy.policy.arn}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment