Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to use startup script to add LS domain name to /etc/hosts for MWAA environment #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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?

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.

3 participants