From 559c7aab247ff89fb85d6afd15ddbf2842a02739 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Mon, 27 Feb 2023 12:26:39 -0500 Subject: [PATCH] chore(enos): Fix local creation of IAM (#3021) --- enos/modules/iam_setup/main.tf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/enos/modules/iam_setup/main.tf b/enos/modules/iam_setup/main.tf index b11442eb1d..edcaa48169 100644 --- a/enos/modules/iam_setup/main.tf +++ b/enos/modules/iam_setup/main.tf @@ -12,10 +12,9 @@ locals { } resource "aws_iam_user" "boundary" { - name = "boundary-e2e-${var.test_id}" - # These are disabled currently, as we cannot lock down this user and still perform certain tests with the service user - # tags = { boundary-demo = local.user_email } - # permissions_boundary = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/BoundaryDemoPermissionsBoundary" + name = "boundary-e2e-${var.test_id}" + tags = { boundary-demo = local.user_email } + permissions_boundary = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/BoundaryDemoPermissionsBoundary" } resource "aws_iam_user_policy" "boundary" {