-
Notifications
You must be signed in to change notification settings - Fork 133
feat(mongodb): add mongodb instance snapshot action #3494
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
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3494 +/- ##
=========================================
- Coverage 1.71% 1.70% -0.01%
=========================================
Files 420 421 +1
Lines 45909 46035 +126
=========================================
Hits 787 787
- Misses 45035 45161 +126
Partials 87 87 ☔ View full report in Codecov by Sentry. |
263c8dd to
8432199
Compare
| Required: true, | ||
| Description: "MongoDB instance ID to snapshot. Can be a plain UUID or a regional ID.", | ||
| Validators: []validator.String{ | ||
| stringvalidator.LengthAtLeast(1), |
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.
I don't think this validator is very helpful. It should be either removed or replaced with a proper validator that can check for a localized/unlocalized id
|
|
||
| snapshotName := data.Name.ValueString() | ||
| if snapshotName == "" { | ||
| snapshotName = "tf-mongodb-snapshot" |
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.
could you add action also here to have more context in this default value?
da5f24c to
6075b7d
Compare
…it trail verification
10a205b to
6c9bf36
Compare
close #3337