Skip to content

Rename AWS lambda related resources #29677

Closed

Description

@vincbeck

Apache Airflow Provider(s)

amazon

Versions of Apache Airflow Providers

No response

Apache Airflow version

2.5.0

Operating System

MacOS

Deployment

Virtualenv installation

Deployment details

AWS Lambda in Amazon provider package do not follow the convention #20296. Hook, operators and sensors related to AWS lambda need to be renamed to follow this convention. Here are the proposed changes in order to fix it:

  • Rename airflow/providers/amazon/aws/operators/lambda_function.py to airflow/providers/amazon/aws/operators/lambda.py
  • Rename airflow/providers/amazon/aws/sensors/lambda_function.py to airflow/providers/amazon/aws/sensors/lambda.py
  • Rename airflow/providers/amazon/aws/hooks/lambda_function.py to airflow/providers/amazon/aws/hooks/lambda.py
  • Rename AwsLambdaInvokeFunctionOperator to LambdaInvokeFunctionOperator

Since all these changes are breaking changes, it will have to be done following the deprecation pattern:

  • Copy/paste the files with the new name
  • Update the existing hook, operators and sensors to inherit from these new classes
  • Deprecate these classes by sending deprecation warnings. See an example here

What happened

No response

What you think should happen instead

No response

How to reproduce

N/A

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Feb 21, 2023
  2. self-assigned this
    on Feb 21, 2023
  3. added
    provider:amazon
    kind:task
    and removed
    needs-triage
    kind:bug
    on Feb 21, 2023
  4. added a commit that references this issue on Feb 24, 2023
  5. added a commit that references this issue on Sep 19, 2024
  6. added a commit that references this issue on Nov 8, 2024
  7. added a commit that references this issue on May 4, 2025
  8. added a commit that references this issue on May 24, 2025
  9. added a commit that references this issue on Sep 19, 2025
  10. added a commit that references this issue on Oct 17, 2025
  11. added a commit that references this issue on Feb 23, 2026
  12. added a commit that references this issue on May 5, 2026
  13. added a commit that references this issue on Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:providerskind:taskprovider:amazon

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions