Find a usable role before your SageMaker deployment.
Finds, validates, or creates a SageMaker execution role before deployment or training.
When to use it
Use before creating SageMaker resources that require an execution role, especially when no role ARN was supplied or IAM access fails.
Give it a SageMaker role-preparation task; it validates a supplied role or discovers an existing one, creating one only when necessary and permitted, and returns its ARN.
The main helper workflow uses Python and supports Windows, macOS, and Linux.
Requires AWS CLI v2 on PATH, configured so caller-identity lookup succeeds in the shell running the helpers.
This skill
IAM
Creates an IAM execution role
aws sts get-caller-identity
Checks your AWS caller identity