[Enhancement]: aws_sagemaker_domain add Hidden Image Versions options to the studio_web_portal_settings
#39.876 aperta il 24 ott 2024
Metriche repository
- Star
- (11.045 stelle)
- Metriche merge PR
- (Merge medio 19g 21h) (251 PR mergiate in 30 g)
Descrizione
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