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

fix(examples): resolve endpoint config name in e2e cleanup#6063
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.
@Hannah14295
Hannah14295 deployed to manual-approval July 20, 2026 19:00 — with GitHub Actions Active
@aviruthen
aviruthen merged commit cb70bf8 into aws:master Jul 20, 2026
6 checks passed
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