I have a similar issue. When our AWS build pipelines run cdk synth, the process downloads the public.ecr.aws/sam/build-python3.10 image and then runs the following command which now pulls in v2.0.0 of poetry which no longer has the required export option:
[2/2] RUN python -m venv /usr/app/venv && mkdir /tmp/pip-cache && chmod -R 777 /tmp/pip-cache && pip install --upgrade pip && mkdir /tmp/poetry-cache && chmod -R 777 /tmp/poetry-cache && pip install pipenv==2022.4.8 poetry && rm -rf /tmp/pip-cache/* /tmp/poetry-cache/*