You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am working with an Enterprise customer on ML use cases and exploring the way to orchestrate deploy using seed-farmer mlops-sagemaker module and aws-codeseeder. As a security best practice, specifying custom paths for IAM roles and policies during creation is essential. This approach, widely adopted by enterprise customers, enhances security and access control. Providing features to customize IAM role paths and policy paths is highly valuable for aligning with these best practices.
Describe the solution you'd like
I am looking for input parameters for IAM role custom path along with IAM policy custom path when using seed-farmer or any better solution which allow passing these input parameters so they can be used while IAM role and policy are created as part of aws-codeseeder.
Describe alternatives you've considered
I have manually upcating the files and running seedfarmer bootstrap and deploy command
In seedfarmer library, update projectpolicy
-> update ProjectPolicy and add Path: /project/
-> update policydocument for resouce as role/* from role/cdk* and role/${ProjectName}*"
In seedfarmer library, update _iam.py
-> add new args as path: '/project/service-role/'
In seedfarmer library, update _module_commands.py
->update codebuild_role_name to codebuild_role_name="arn:aws:iam::<AWS_ACCOUNT>:role/project/service-role/"+mdo.module_role_name
then run below command seedfarmer apply manifests/mlops-sagemaker/deployment.yaml --env-file .env --debug
Additional context
This IAM Role and Policy path are used in most of the scenario where security best practice are followed. So this will be very good addition for user of seedfarmer library
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am working with an Enterprise customer on ML use cases and exploring the way to orchestrate deploy using seed-farmer mlops-sagemaker module and aws-codeseeder. As a security best practice, specifying custom paths for IAM roles and policies during creation is essential. This approach, widely adopted by enterprise customers, enhances security and access control. Providing features to customize IAM role paths and policy paths is highly valuable for aligning with these best practices.
Describe the solution you'd like
I am looking for input parameters for IAM role custom path along with IAM policy custom path when using seed-farmer or any better solution which allow passing these input parameters so they can be used while IAM role and policy are created as part of aws-codeseeder.
Describe alternatives you've considered
I have manually upcating the files and running seedfarmer bootstrap and deploy command
Update below files before seedfarmer bootstrap
In seedfarmer library, update toolchain_role.template and deployment_role.template
-> add
Path: /project/service-role/
for role creation for ToolchainRole and DeploymentRoleIn seedfarmer library, update utils.py update get_deployment_role_arn and get_toolchain_role_arn in role arns
-> add
/project/service-role/
as paththen run below command
Update below files before seedfarmer apply
In seedfarmer library, update projectpolicy
-> update ProjectPolicy and add
Path: /project/
-> update policydocument for resouce as role/* from role/cdk* and role/${ProjectName}*"
In seedfarmer library, update _iam.py
-> add new args as
path: '/project/service-role/'
In seedfarmer library, update _module_commands.py
->update codebuild_role_name to
codebuild_role_name="arn:aws:iam::<AWS_ACCOUNT>:role/project/service-role/"+mdo.module_role_name
then run below command
seedfarmer apply manifests/mlops-sagemaker/deployment.yaml --env-file .env --debug
Additional context
This IAM Role and Policy path are used in most of the scenario where security best practice are followed. So this will be very good addition for user of seedfarmer library
The text was updated successfully, but these errors were encountered: