jason810496 opened a new pull request, #54050:
URL: https://github.com/apache/airflow/pull/54050

   ## Why
   
   As Ash suggested setting up AWS CloudWatch to test system behavior using 
LocalStack in 
https://github.com/apache/airflow/pull/49470#discussion_r2239313403, we should 
provide an easy way to run LocalStack with Breeze.
   
   ## What
   
   Add `localstack` to the Breeze `--integration` flag to enable seamless setup 
of the Docker network for both Breeze and LocalStack.
   
   Then contributor can setup the following env in 
`files/airflow-breeze-config/environment_variables.env` for testing system 
behavior with localstack:
   
   ```bash
   AWS_ENDPOINT_URL=http://localstack:4566
   AWS_ACCESS_KEY_ID="test"
   AWS_SECRET_ACCESS_KEY="test"
   AWS_DEFAULT_REGION="us-east-1"
   AIRFLOW_CONN_AWS_DEFAULT='{"conn_type": "aws",
    "login": "test",
    "password": "test",
    "host": "localstack",
    "port": 4566,
    "schema": "",
    "extra": "{\"region_name\": \"us-east-1\", \"aws_access_key_id\": \"test\", 
\"aws_secret_access_key\": \"test\"}"}'
   
   # For testing CloudWatch Remote Logging Handler
   # 
AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER=cloudwatch://arn:aws:logs:us-east-1:000000000000:log-group:test
   # AIRFLOW__LOGGING__REMOTE_LOGGING=True
   ```


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to