aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

SageMaker Studio domain default Lifecycle Configurations

Open
#1,568 0 comments 2 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::SageMaker::Domain

### Resource name

_No response_

### Description

SageMaker Studio Lifecycle configurations can be added to a SageMaker Domain with the CLI, but not with CloudFormation.

With CLI:
```bash
aws sagemaker update-domain --domain-id \
--default-user-settings '{
"JupyterServerAppSettings": {
"DefaultResourceSpec": {
"LifecycleConfigArn": "arn:aws:sagemaker:::studio-lifecycle-config/",
"InstanceType": "system"
},
"LifecycleConfigArns": [
"arn:aws:sagemaker:::studio-lifecycle-config/"
]
}
}'
```

In CFN there is [no support](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterserverappsettings.html) for the `LifecycleConfigArns` property. Only specifying `DefaultResourceSpec` does not through an error, but fails when booting up the JupyterServerApp as users try to access Studio.

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::SageMaker::Domain JupyterServerAppSettings documentation linked in the issue and compare its CloudFormation properties with the shown aws sagemaker update-domain command. Confirm how LifecycleConfigArns should be represented alongside DefaultResourceSpec. Done means CloudFormation supports this property and users can configure the domain's default Studio lifecycle configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.