fix(e2e): update enos policies to include s3:ListBucket (#4255)
This commit is contained in:
3 files changed
+9
-4
No files matched your search
@@ -18,10 +18,12 @@ data "aws_iam_policy_document" "default" {
|
||||
"s3:GetObject",
|
||||
"s3:DeleteObject",
|
||||
"s3:GetObjectAttributes",
|
||||
"s3:ListBucket",
|
||||
]
|
||||
|
||||
resources = [
|
||||
"${aws_s3_bucket.default.arn}/*",
|
||||
"${aws_s3_bucket.default.arn}",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,9 +12,9 @@ locals {
|
||||
}
|
||||
|
||||
resource "aws_iam_user" "boundary" {
|
||||
name = "boundary-e2e-${var.test_id}"
|
||||
name = "demo-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"
|
||||
permissions_boundary = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/DemoUser"
|
||||
}
|
||||
|
||||
resource "aws_iam_user_policy" "boundary" {
|
||||
|
||||
Reference in new issue
Block a user