-
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
|
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?
…it trail verification
da5f24c to
6075b7d
Compare
close #3337