Lightlines
By huggingface

hf-cloud-sagemaker-iam-preflight

huggingface499 installs

Find a usable role before your SageMaker deployment.

What it does

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.

How to use it

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.

Uses

Latest review

What you need · 2

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.


Access · 2

This skill

IAM

Write

Creates an IAM execution role

aws sts get-caller-identity

Read

Checks your AWS caller identity