Skip to content

fix(examples): resolve endpoint config name in e2e cleanup - #6063

Merged
aviruthen merged 1 commit into
aws:masterfrom
Hannah14295:fix/train-inference-e2e-cleanup-endpoint-config
Jul 20, 2026
Merged

aviruthen merged 1 commit into
aws:masterfrom
Hannah14295:fix/train-inference-e2e-cleanup-endpoint-config

Conversation

@Hannah14295

Copy link
Copy Markdown
Contributor

The train-inference-e2e-example cleanup cell looked up the endpoint configuration by the endpoint's name, but deploy() creates the config under an auto-generated name. DescribeEndpointConfig then failed with "Could not find endpoint configuration ", aborting teardown and leaving the model, endpoint, and config behind.

Resolve the real config name from the endpoint before deleting.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The train-inference-e2e-example cleanup cell looked up the endpoint
configuration by the endpoint's name, but deploy() creates the config
under an auto-generated name. DescribeEndpointConfig then failed with
"Could not find endpoint configuration <endpoint-name>", aborting
teardown and leaving the model, endpoint, and config behind.

Resolve the real config name from the endpoint before deleting.
@aviruthen
aviruthen merged commit cb70bf8 into aws:master Jul 20, 2026
6 checks passed

This branch was previously deployed

1 inactive deployment
manual-approval — 3e2e39f0 Deployed Jul 20, 2026 by Hannah14295 via wait-for-approval #1052
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.

3 participants