Remove unrelated containers from ECS deploy verification
The Edit ECS services task can identify a service that no longer exists, a service that should have tasks but has none, or container images built outside the repository’s ECR scope.
Correct the service scope without hiding missing build evidence#
Open Edit ECS services for the named repository. Compare each service and container the task lists with what the repository actually deploys. Review the suggestions under Containers built elsewhere. Remove a service from scope when the repository no longer deploys it.
If the services are correct but the build has no qualifying image attestation, follow Publish build provenance instead. An idle service scaled to zero can still belong to the repository even though it provides no running revision for that check.