From 11afa8bf2bb0069badc2ae15a4dfd896b8af3d14 Mon Sep 17 00:00:00 2001 From: James Deck Date: Thu, 4 Sep 2025 15:52:41 +1000 Subject: [PATCH] Remove deprecated SageMaker KernelGateway App from CloudFormation template SageMaker Studio no longer supports AppType=KernelGateway. The stack fails with: "Invalid request provided: Invalid AppType [KernelGateway]. This AppType has been deprecated." Changes: - Removed DataScienceApp (KernelGateway) from the template - Rely on the existing JupyterServer app (already created as 'default') Result: - CloudFormation completes successfully - Lifecycle config still clones the workshop repo --- dist/idp-deploy.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/dist/idp-deploy.yaml b/dist/idp-deploy.yaml index 0ff5c63..efbbcbd 100644 --- a/dist/idp-deploy.yaml +++ b/dist/idp-deploy.yaml @@ -400,21 +400,6 @@ Resources: DomainId: !GetAtt StudioDomain.DomainId UserProfileName: !Ref UserProfileName - DataScienceApp: - Type: AWS::SageMaker::App - DependsOn: UserProfile - Properties: - AppName: instance-event-engine-datascience-ml-t3-medium - AppType: KernelGateway - DomainId: !GetAtt StudioDomain.DomainId - ResourceSpec: - InstanceType: ml.t3.medium - SageMakerImageArn: !FindInMap - - RegionMap - - !Ref 'AWS::Region' - - datascience - UserProfileName: !Ref UserProfileName - ### S3 Bucket For A2I A2IBucket: Type: AWS::S3::Bucket