Zum Inhalt springen
Kitbay

hf-cloud-sagemaker-iam-preflight

Apache-2.0Aktualisiert am 11. Nov. 202611.334GitHub-SterneEnthält Skripte

A Hugging Face skill that makes sure a working SageMaker execution role exists before an agent creates endpoints, models or training jobs.

Was der Skill vermittelt

A Hugging Face skill that makes sure a working SageMaker execution role exists before an agent creates endpoints, models or training jobs. It sets an order: validate the role the user supplied, otherwise look for a usable existing role, and only create a new one when nothing fits, which avoids failures for single sign-on users who cannot create roles. It lists the minimum permissions a role needs and gives plain AWS CLI fallbacks. Bundled Python helpers check and create roles by calling the AWS CLI from the shell where it already works, with a warning about Windows Bash shims.

Funktionen

  • Validate a SageMaker execution role
  • Find a usable existing IAM role
  • Create a role only when none fits
  • List minimum role permissions