Skip to content

Conversation

@ferruzzi
Copy link
Contributor

Part of a project to standardize AWS provider package sample DAGs and documentation.

  • Adds entries in the docs for the three EKS State Sensors
  • All EKS sample DAGs are reformatted to be more consistent and to make the embedded snippets in the docs more approachable
  • There is an example DAG that shows off how to use Jinja templates but it didn't actually use them for much, so I made that a better demo.

related: #21475


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@ferruzzi
Copy link
Contributor Author

ferruzzi commented Feb 11, 2022

Fixing two of the three errors (my oops) but not sure about this one.

File "/opt/airflow/airflow/providers/amazon/aws/example_dags/example_eks_templated.py", line 58, in <module>
VPC_CONFIG = json.loads("{{ dag_run.conf['resources_vpc_config'] }}")
    <<snip>>
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

@ferruzzi
Copy link
Contributor Author

oof. Sorry about that, I must have screwed up a rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.