You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
### **Changed**
15
15
16
16
- fixed `sagemaker-templates` Model Deploy seed code S3 permission race condition where `grant_read_write()` on an imported bucket created a `DefaultPolicy` with no CloudFormation dependency from the SageMaker Model, causing intermittent `s3:GetObject` access denied errors
17
+
- consolidated redundant `DevStage`/`PreProdStage`/`ProdStage` classes into a single `DeployStage` in `sagemaker-templates` model deploy seed code, fixing redundant CF stack names (e.g. `dev-dev-endpoint` → `dev-{project}-endpoint`) and adding project uniqueness to prevent cross-project collisions
Copy file name to clipboardExpand all lines: modules/sagemaker/sagemaker-templates/templates/model_deploy/seed_code/deploy_app/deploy_app/deploy_endpoint_stack.py
Copy file name to clipboardExpand all lines: modules/sagemaker/sagemaker-templates/templates/model_deploy/seed_code/deploy_app/deploy_app/pipeline_stack.py
Copy file name to clipboardExpand all lines: modules/sagemaker/sagemaker-templates/templates/model_deploy/seed_code/deploy_app/tests/test_synth_s3_permissions.py
+20-89Lines changed: 20 additions & 89 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
"""Verify that cdk synth produces the expected S3 permission statements.
1
+
"""Verify that cdk synth produces correct SageMaker resource names.
2
2
3
3
This test mocks the SageMaker API call (get_approved_package) and all
4
4
required environment variables, then synthesizes the DeployEndpointStack
5
-
and asserts the ManagedPolicy contains the correct S3 actions.
5
+
and asserts that stage_name drives unique SageMaker resource names.
0 commit comments