Skip to content

Conversation

robertlcx
Copy link
Contributor

This is currently not working as expected, looking to see what @viren-nadkarni has to add to this conversation. Here's the list of the things that don't work:

  1. Adding a startup script to the MWAA env doesn't seem to execute at start-up time.
  2. There's no resolving of snowflake.localhost.localstack.cloud and localhost.localstack.cloud to the LS container. Both containers do seem to be on the same network though.

@robertlcx robertlcx added the bug Something isn't working label Jun 28, 2024
@robertlcx robertlcx requested a review from viren-nadkarni June 28, 2024 18:47
@robertlcx robertlcx self-assigned this Jun 28, 2024
Copy link

@yingw787 yingw787 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

awslocal mwaa create-environment --dag-s3-path /dags \
--execution-role-arn arn:aws:iam::000000000000:role/airflow-role \
--network-configuration {} \
--source-bucket-arn arn:aws:s3:::snowflake-airflow \
--airflow-configuration-options agent.code=007,agent.name=bond \
--airflow-configuration-options agent.code=007,agent.name=bond,env.LOCALSTACK_RESOLVE_IP_ADDRESS=172.20.0.2 \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a fixed IP address for the MWAA emulator?

Copy link
Contributor

@whummer whummer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing this PR for the time being, but may be revisited in the near future.

@whummer whummer closed this Jul 7, 2025
@whummer whummer deleted the fix/attempt-using-startup-script-to-patch-domain-name-in-airflow branch July 7, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants