Skip to content

Fix model deploy pr - #428

Merged
newman911 merged 2 commits into
mainfrom
fix-model-deploy-pr
Mar 9, 2026
Merged

Fix model deploy pr#428
newman911 merged 2 commits into
mainfrom
fix-model-deploy-pr

Conversation

@newman911

Copy link
Copy Markdown
Contributor

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I updated CHANGELOG.MD with a description of my changes
  • If the change was to a module, I ran the code validation script (scripts/validate.sh)
  • If the change was to a module, I have added thorough tests
  • If the change was to a module, I have added/updated the module's README.md
  • If a module was added, I added a reference to the module to the repository's README.md
  • I verified that my code deploys successfully using seedfarmer apply

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The model deployment template creates multiple CDK stacks (pipeline +
cross-region + endpoint stacks per environment). Without --all flag,
cdk deploy fails when multiple stacks exist.

This fix ensures the CodeBuild project can deploy all stacks in
cross-account/cross-region configurations.
@newman911
newman911 force-pushed the fix-model-deploy-pr branch from 851431e to 1b034ea Compare March 6, 2026 22:13

app = cdk.App()

# All deployment regions must match - cross-region endpoint deployment is not supported

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have any technical blocker regarding "cross-region endpoint deployment is not supported"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

All deployment regions must match - cross-region endpoint deployment is not supported

because model packages contain region-specific container image URIs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, my question was not clear. I meant to check why "model packages has to contain region specific container image URI" or " will cross region image pull be enough to address the above limitation. Maybe the actual question should be what needs to be done to support cross-region endpoint deployment.

@newman911
newman911 merged commit 80f010d into main Mar 9, 2026
6 checks passed
@newman911
newman911 deleted the fix-model-deploy-pr branch March 9, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants