-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Add redshift create cluster snapshot operator #25857
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
Add redshift create cluster snapshot operator #25857
Conversation
|
Hi @pankajastro. |
hmm, I liked the Idea but for Redshift, we already have operators like RedshiftPauseClusterOperator, RedshiftResumeClusterOperator etc. I want to add |
We can deprecate operators if there is a need. While we are on it can we address also the todo (I'm not sure what was the intent on this): airflow/airflow/providers/amazon/aws/hooks/redshift_cluster.py Lines 76 to 77 in 9021c2b
|
|
I rather have several "small" operator than one which handles multiple use cases. I guess there can be some exceptions but here I dont mind having |
docs/apache-airflow-providers-amazon/operators/redshift_cluster.rst
Outdated
Show resolved
Hide resolved
josh-fell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A few imports and docs to update.
docs/apache-airflow-providers-amazon/operators/redshift_cluster.rst
Outdated
Show resolved
Hide resolved
josh-fell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. LGTM! Let's see what CI thinks.
vincbeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing so quickly my comments. I just left 2 minor comments
vincbeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add
RedshiftCreateClusterSnapshotOperatorto create snapshot for a redshift cluster. by default, it won't wait for the cluster to be available.^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.