From 5e40fb09ad1251660179932bfd8f68934eb05165 Mon Sep 17 00:00:00 2001 From: Leon Luttenberger Date: Mon, 4 Mar 2024 15:54:06 -0600 Subject: [PATCH] fix linting error --- .../pipeline_constructs/build_pipeline_construct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sagemaker/sagemaker-templates/templates/multi_account_basic/pipeline_constructs/build_pipeline_construct.py b/modules/sagemaker/sagemaker-templates/templates/multi_account_basic/pipeline_constructs/build_pipeline_construct.py index 67fba1df..86c45a53 100644 --- a/modules/sagemaker/sagemaker-templates/templates/multi_account_basic/pipeline_constructs/build_pipeline_construct.py +++ b/modules/sagemaker/sagemaker-templates/templates/multi_account_basic/pipeline_constructs/build_pipeline_construct.py @@ -112,7 +112,7 @@ def __init__( sagemaker_seedcode_bucket.grant_read_write(sagemaker_policy) sagemaker_execution_role.grant_pass_role(codebuild_role) - sagemaker_execution_role.grant_pass_role(sagemaker_policy) + sagemaker_execution_role.grant_pass_role(sagemaker_execution_role) # Attach the policy sagemaker_policy.attach_to_role(sagemaker_execution_role)