This module is an example that deploys various roles that may be required for an AI/ML project, including:
- ML Engineer
- Data Engineer
- IT Lead
- Business Analyst
- MLOPs Engineer
- IT Auditor
- Model Risk Manager
The module creates separate roles with appropriate permissions and policies for each persona, ensuring proper segregation of duties and access control within the AI/ML project.
bucket_name
: S3 bucket name to add permissions for
Create a manifest file under appropriate location, for example examples/manifests
name: personas
path: modules/examples/personas
parameters:
- name: bucket-name
value: my-bucket
MLEngineerRoleArn
- the arn of the Machine Learning Engineer RoleDataEngineerRoleArn
- the arn of the Data Engineer RoleITLeadRoleArn
- the arn of the Machine IT Lead RoleBusinessAnalystRoleArn
- the arn of the Business Analyst RoleMLOpsEngineerRoleArn
- the arn of the Machine Learning Ops Engineer RoleITAuditorRoleArn
- the arn of the IT Auditor RoleModelRiskManagerRoleArn
- the arn of the Model Risk Manager Role
metadata: |
{
"MLEngineerRoleArn": "arn:aws:iam::<account_id>:role/MyStack-MLEngineerRole-<random_string>",
"DataEngineerRoleArn": "arn:aws:iam::<account_id>:role/MyStack-DataEngineerRole-<random_string>",
"ITLeadRoleArn": "arn:aws:iam::<account_id>:role/MyStack-ITLeadRole-<random_string>",
"BusinessAnalystRoleArn": "arn:aws:iam::<account_id>:role/MyStack-BusinessAnalystRole-<random_string>",
"MLOpsEngineerRoleArn": "arn:aws:iam::<account_id>:role/MyStack-MLOpsEngineerRole-<random_string>",
"ITAuditorRoleArn": "arn:aws:iam::<account_id>:role/MyStack-ITAuditorRole-<random_string>",
"ModelRiskManagerRoleArn": "arn:aws:iam::<account_id>:role/MyStack-ModelRiskManagerRole-<random_string>"
}