LocalStack 3.4 introduced the new ECR_ENDPOINT_STRATEGY which defaults to domain.
By that, the previously used ECR repository URIs (localhost.localstack.cloud:4510/sample) started to fail as LocalStack was expecting the AWS pattern (000000000000.dkr.ecr.us-east-1.localhost.localstack.cloud:4566/sample), however the usage of the new pattern resulted in the following error message:
Error: Invalid value for '--image-repository': Invalid Image Repository ECR URI: image_repository = 000000000000.dkr.ecr.us-east-1.localhost.localstack.cloud:4566/sample
Motivation
LocalStack 3.4 introduced the new
ECR_ENDPOINT_STRATEGY
which defaults todomain
. By that, the previously used ECR repository URIs (localhost.localstack.cloud:4510/sample
) started to fail as LocalStack was expecting the AWS pattern (000000000000.dkr.ecr.us-east-1.localhost.localstack.cloud:4566/sample
), however the usage of the new pattern resulted in the following error message:Changes
ecr_url_regex
pattern