ecr_create_repository function

Creates a repository