-
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3494 +/- ##
=========================================
- Coverage 1.67% 1.67% -0.01%
=========================================
Files 428 429 +1
Lines 46746 46872 +126
=========================================
Hits 785 785
- Misses 45873 45999 +126
Partials 88 88 ☔ 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