def get_image_uri(aws_cli, account, repository):
    """
    Finds the repository URI for a given ECR resource.
    """
    for repo in aws_cli.resources[account]['ecr']:
        if repo['repositoryName'] == repository:
            return repo['repositoryUri']