[QT-444] Use repo isolated AWS account for enos CI tests (#2727)

* [QT-444] Use repo isolated AWS account for enos CI tests
This commit is contained in:
Mike Baum authored and GitHub committed 2023-02-16 17:07:30 -05:00
1 parent af1b8d2f02
commit e1d078fa9f
6 files changed
+28 -24

No files matched your search

+4 -3
View File
@@ -12,9 +12,10 @@ locals {
}
resource "aws_iam_user" "boundary" {
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"
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"
}
resource "aws_iam_user_policy" "boundary" {