-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[droplets]: add support for backup policy (#1261)
* [droplets]: add support for backup policy * update godo version with fixes; rewrite getting backup policy on create * update backup policy (when backup_policy is set) * check backup_policy is set before sending an api request * add an acceptance test for ChangeBackupPolicy * fix indention * update godo * add expandBackupPolicy for create and update * check that backupd are enabled when create or update backup policy * check there is no backup_policy specified when backups are disabled * apply backup_policy if specified, otherwise use the default policy when updating * check backups enabled and run ChangeBackupPolicy only if there is backup_policy specified * update goto to v1.129.0 * remove BackupPolicy definition from opts in create; add TF MaxItems, RequiredWith to backup_policy * add acceptance tests * add an acceptance test for backup policy after re-enabling backups to check that correct policy is used instead of default policy * update documentation for droplets: add backup policy to droplet resources * fix tf config in the doc * Update docs/resources/droplet.md Co-authored-by: Andrew Starr-Bochicchio <[email protected]> --------- Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
- Loading branch information
1 parent
ffbed06
commit 2c9f219
Showing
12 changed files
with
620 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.