-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Today, the SageMaker console has UI functionality for creating and attaching/configuring personal Studio app lifecycle config scripts - which is great...
...But it seems like there are still use cases for programmatic LCC management:
- I recently worked with multiple users on Windows laptops, who found the UI LCC editing experience corrupted their scripts with hard-to-debug errors (due to
\r\nline endings and the shell parsing the non-printing\rcharacter as part of the command line / argument / etc in the script) - AFAICT, there isn't yet a full console experience available for setup of shared spaces' LCCs?
- People might just want to automate these activities anyway...
As far as I know, the process of attaching LCCs to domains and users/spaces is non-trivial in the APIs, because it requires merging the domain/user/space's existing settings JSON with updates before calling UpdateDomain/UpdateUserProfile. Therefore in the past, I've used short Python helper scripts to manage the process of fetching the existing settings, calculating the update, and applying it.
Perhaps it'd be interesting to try and get those Python functions/CLI tool included in this repository, to help users manage LCCs more easily outside of the AWS Console?