-
Notifications
You must be signed in to change notification settings - Fork 137
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
cloud Databases Custom backup #553
Conversation
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.
all CloudProjectDatabase tests are failing with error: OVHcloud API error (status code 400): Client::BadRequest: \"[backups.time] Given data () is not valid for type time. Expecting ISO 8601 data, such as \\\"15:04:05\\\"\"
@@ -108,6 +108,19 @@ func resourceCloudProjectDatabase() *schema.Resource { | |||
}, | |||
|
|||
//Optional/Computed | |||
"backup_regions": { | |||
Type: schema.TypeList, | |||
Description: "List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other engines with one which is the same as the nodes[].region field", |
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.
Description: "List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other engines with one which is the same as the nodes[].region field", | |
Description: "List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other engines with one being the same as the nodes[].region field", |
Description
Add field to let user define custom backup region, following the API.
Fixes asked feature on Discord
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
make testacc TESTARGS="-run TestAccCloudProjectDatabaseDataSource_basic"
make testacc TESTARGS="-run TestAccCloudProjectDatabase_basic"
Try locally with a resource