From 96639e0eba9d5256435f15994f1761567e7762e5 Mon Sep 17 00:00:00 2001 From: Will Vauclain Date: Tue, 30 Jun 2020 12:51:05 -0400 Subject: [PATCH] Actually fix terraform this time --- infrastructure/permissions.tf | 99 ++++++++++++----------------------- 1 file changed, 33 insertions(+), 66 deletions(-) diff --git a/infrastructure/permissions.tf b/infrastructure/permissions.tf index bba95d0e2..f3a4fa466 100644 --- a/infrastructure/permissions.tf +++ b/infrastructure/permissions.tf @@ -104,72 +104,39 @@ resource "aws_iam_role_policy_attachment" "s3" { policy_arn = "${aws_iam_policy.s3_access_policy.arn}" } -# resource "aws_iam_policy" "ec2_access_policy" { -# name = "data-refinery-ec2-access-policy-${var.user}-${var.stage}" -# description = "Allows EC2 Permissions." -# count = "${var.max_clients == 0 ? 0 : 1}" -# -# # We can't iterate instances from the fleet, so allow attaching to any instance, -# # but restrict which volumes can be attached. -# policy = <