From 0119a2885aa47dbd795b4a55a4dd41a571653f49 Mon Sep 17 00:00:00 2001 From: Noah Paige Date: Thu, 14 Nov 2024 15:51:35 -0500 Subject: [PATCH 1/2] return EnvironmentLogsBucketName from integraiton test getEnv query --- tests_new/integration_tests/core/environment/queries.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests_new/integration_tests/core/environment/queries.py b/tests_new/integration_tests/core/environment/queries.py index 7a1e3eba2..57608057d 100644 --- a/tests_new/integration_tests/core/environment/queries.py +++ b/tests_new/integration_tests/core/environment/queries.py @@ -11,6 +11,7 @@ tags SamlGroupName EnvironmentDefaultBucketName +EnvironmentLogsBucketName EnvironmentDefaultIAMRoleArn EnvironmentDefaultIAMRoleName EnvironmentDefaultIAMRoleImported From 605a481defa4e668aeff95bfbd102e49ea84280e Mon Sep 17 00:00:00 2001 From: Noah Paige Date: Thu, 14 Nov 2024 18:35:05 -0500 Subject: [PATCH 2/2] Add permission to delete access log bucket for testing role --- backend/dataall/core/environment/cdk/environment_stack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/dataall/core/environment/cdk/environment_stack.py b/backend/dataall/core/environment/cdk/environment_stack.py index cf6529a68..df6c8cc17 100644 --- a/backend/dataall/core/environment/cdk/environment_stack.py +++ b/backend/dataall/core/environment/cdk/environment_stack.py @@ -610,6 +610,7 @@ def create_integration_tests_role(self): 'arn:aws:s3:::dataall-test-session*/*', 'arn:aws:s3:::dataall-temp*', 'arn:aws:s3:::dataall-temp*/*', + 'arn:aws:s3:::dataall-env-access-logs*', ], ) )