Taragolis commented on issue #26754: URL: https://github.com/apache/airflow/issues/26754#issuecomment-1261629592
> Looking at the SystemsManagerParameterStoreBackend class, the client method changed in amazon 5.1.0 (coming with AF 2.4). There use to be a simple boto3.session call. The new code calls for an import of SessionFactory. I do not understand why this import fails though. @Flogue Yeah, this added in #25628 for allow switch roles and use additional configuration for create [boto3.session.Session](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html) in secrets backend. However we have again chicken-egg problem 😠- secrets backend tried to get configuration from itself https://github.com/apache/airflow/blob/c94f978a66a7cfc31b6d461bbcbfd0f2ddb2962e/airflow/providers/amazon/aws/hooks/base_aws.py#L663-L676 Recommendation for now downgrade to `apache-airflow-providers-amazon==5.0.0` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
