hf-cloud-sagemaker-iam-preflight
SKILLEnsure a usable SageMaker execution role exists before deploying or training.
What it does
Ensure a usable SageMaker execution role exists before deploying or training. Use this skill whenever about to create a SageMaker endpoint, model, training job, or any resource that requires an execution role.
This skill prevents the most common SageMaker deployment failure: trying to create IAM resources from an SSO principal that has no IAM write permissions.
How to set it up
Use it especially when the user has not provided a role ARN explicitly, when scripts are about to call, or when an AccessDenied error mentions an IAM action.
iam:CreateRoleNever blindly call — always check for existing roles first.
iam:CreateRole