-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Migrate database to v2 #71
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
base: master
Are you sure you want to change the base?
Conversation
| opts: pulumi.ComponentResourceOptions = {}, | ||
| ) { | ||
| super('studion:Database', name, {}, opts); | ||
| super('studion:LegacyDatabase', name, {}, opts); |
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.
Why is this needed?
| */ | ||
| skipFinalSnapshot?: pulumi.Input<boolean>; | ||
| /** | ||
| * The allocated storage in gibibytes. Defaults to 20GB. |
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.
gibibyte, I like it. 👌 😂
On a serious note, we can drop comments where the name of the parameter is self-explanatory.
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.
Correct abbreviation for gibibyte is GiB so the typo should be fixed.
Sorry for barging in, I get notified for all activity and couldn't resist on this one 😄
| return encryptedSnapshotCopy; | ||
| } | ||
|
|
||
| private createDatabaseInstance(args: Database.Args) { |
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.
Let's avoid passing the whole argument bag, and instead make the parameters of each method explicit.
# Conflicts: # src/v2/index.ts
Resolves #70
Tasks: