Giter Club home page Giter Club logo

Comments (4)

villasv avatar villasv commented on June 26, 2024

Well, I'm forced to specify the whole URL including the port. This means I must either guess or override the port from airflow.cfg. Overriding is less error prone.

from aws-airflow-stack.

villasv avatar villasv commented on June 26, 2024

Turns out there can't be self references using GetAtt. An alternative is to inject it using the metadata query API:

curl http://169.254.169.254/latest/meta-data/local-ipv4

from aws-airflow-stack.

villasv avatar villasv commented on June 26, 2024

Metadata insertion via API query is working. Now comes an opinionated decision point: hardcode local-ipv4 or public DNS/IP? Or try the latter and fallback to former?

from aws-airflow-stack.

villasv avatar villasv commented on June 26, 2024

Done in 3f1f51c. I'm overriding the configured port to be 80 for now, and probably won't be changing that until it becomes a real problem (hopefully never).

from aws-airflow-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.