Uh oh!
There was an error while loading. Please reload this page.
Add AWS operators to create and delete RDS Database - #24099
Conversation
Uh oh!
There was an error while loading. Please reload this page.
c7e8c93 to
627c80bCompare
potiuk
left a comment
There was a problem hiding this comment.
Can you please implement examples in AIP-47 compatible way? You will find a lot of AIP-47 as examples.
Uh oh!
There was an error while loading. Please reload this page.
627c80b to
bbd3156Compareeskarimov
commented
Jun 8, 2022
Sure, I should have checked this epic 👍 I've just pushed a commit with according changes. |
There was a problem hiding this comment.
If we have db_instance_identifier why do we need DBName in rds_kwargs?
There was a problem hiding this comment.
In case with Postgres it's different parameters - db_instance_identifier identifies the DB instance, while DBName is the name of the database to create when the DB instance is created.
We can actually omit DBName, then a database named postgres is created in the DB instance.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eladkal
commented
Jun 8, 2022
Would be nice also to fix dms example dag to use the operators added by this PRas you can see from the review in #23681 (comment) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
potiuk
commented
Jun 11, 2022
Comments to @vincbeck comments @eskarimov ? |
eskarimov
commented
Jun 13, 2022
I agree it'd be nice, however, maybe it'd be better to make in a separate PR together with DAG refactoring making it AIP-47 compatible, in order to keep the scope of this PR not too broad?
Just replied, very nice feedback, I'm going to fix mentioned things in the upcoming days. |
eladkal
commented
Jun 13, 2022
I think that it's not too broad. |
ee5b7a8 to
a11b12dCompareeskarimov
commented
Jun 17, 2022
@eladkal could you review refactored |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eladkal
left a comment
There was a problem hiding this comment.
LGTM
@eskarimov can you please address josh comments above?
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
…eleteDbInstanceOperator
… `RdsDeleteDbInstanceOperator`
…RdsDeleteDbInstanceOperator`
Sure, pushing updated and rebased branch. Thank you for the reviews, @josh-fell I'll mark the suggestions above as resolved then. |
a11b12d to
206e884CompareRelated: #24099#25952 ### Summary This PR sets the `template_fields` property on `RdsCreateDbInstanceOperator` and `RdsDeleteDbInstanceOperator` to allow users to programmatically change the database id, instance size, allocated storage, etc.. It also replaces use of `@task` decorated functions with their appropriate operator in system tests. Co-authored-by: D. Ferruzzi <ferruzzi@amazon.com>
This PR intends to close#23822 by adding new AWS operators for create and delete RDS database.