Add default 'aws_conn_id' to SageMaker Operators
See original GitHub issueThe SageMaker Operators not having a default value for aws_conn_id
is a pain, we should fix that. See EKS operators for an example: https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/operators/eks.py
_Originally posted by @ferruzzi in https://github.com/apache/airflow/pull/21673#discussion_r813414043_
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Working with permissions in Amazon Managed Workflows for ...
In this post I will be covering Part 2, how to ensure that you control access to Apache Airflow following best practices such...
Read more >Working with permissions in Amazon Managed ... - DevPress
In this post I will be covering Part 2, how to ensure that you control access to Apache Airflow following best practices such...
Read more >airflow.exceptions.AirflowException Example - Program Talk
Wraps a function into an Airflow operator. ... Defaults to False. ... Optional[Set] = None, ): """ Check status of a SageMaker job...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Got the intent . Yes can see this problem with few of them individually . Appreciate the details 😃 Will work this out.!!
The problem is that the individual operators also declare the aws_conn without a default value so it isn’t optional, and it won’t fall back to that value:
So if we move the defaulting into the child Operators, we don’t have to declare
aws_conn_id='default_aws'
in every operator use: