[Enhancement]: aws_sagemaker_domain add Hidden Image Versions options to the studio_web_portal_settings
#39,876 opened on Oct 24, 2024
Repository metrics
- Stars
- (11,045 stars)
- PR merge metrics
- (Avg merge 19d 21h) (251 merged PRs in 30d)
Description
Description
The new Sagemaker Studio (non Classic) allows bringing your own JupyterLab container images. According to the CreateDomain API, the StudioWebPortalSettings has a property HiddenSageMakerImageVersionAliases, so that we can hide unwanted images from the dropdown list in the portal, or even restrict it only to the internal corporate approved image (this is the actual goal)
Affected Resource(s) and/or Data Source(s)
aws_sagemaker_domain
Potential Terraform Configuration
resource "aws_sagemaker_domain" "my_domain" {
...
default_user_settings {
...
studio_web_portal_settings {
hidden_app_types = [...]
hidden_ml_tools = [...]
hidden_sagemaker_image_version_aliases = [
{
sagemaker_image_name = "sagemaker_distribution"
version_aliases = ["1.10", "1.11"]
}
]
}
}
}
References
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateDomain.html https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UserSettings.html#sagemaker-Type-UserSettings-StudioWebPortalSettings
Would you like to implement a fix?
None