You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "euq8 (via GitHub)" <gi...@apache.org> on 2023/05/23 08:26:03 UTC
[GitHub] [airflow] euq8 commented on issue #28766: Cannot create connection without defining host using CLI
euq8 commented on issue #28766:
URL: https://github.com/apache/airflow/issues/28766#issuecomment-1558778376
@aru-trackunit for `apache-airflow[amazon]==2.6.0` you can add airflow connections for aws s3 using CLI like -
```
airflow connections add "s3_connection" \
--conn-type aws \
--conn-login "${AWS_ACCESS_KEY_ID}" \
--conn-password "${AWS_SECRET_ACCESS_KEY}" \
--conn-extra "{\"region_name\": \"${AWS_REGION}\", \"bucket_name\": \"${AWS_S3_BUCKET_NAME}\"}"
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org