Skip to content

Commit

Permalink
Merge pull request #17 from particuleio/feat/customize-backups
Browse files Browse the repository at this point in the history
feat(rdb): add custom backup strategy support
  • Loading branch information
tbobm authored Dec 31, 2021
2 parents 023fd70 + 120b69e commit dd27400
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ resource "scaleway_rdb_instance" "this" {
user_name = lookup(each.value, "user_name", null)
password = lookup(each.value, "password", null)

is_ha_cluster = lookup(each.value, "is_ha_cluster", true)
disable_backup = lookup(each.value, "disable_backup", false)
is_ha_cluster = lookup(each.value, "is_ha_cluster", true)

disable_backup = lookup(each.value, "disable_backup", false)
backup_schedule_frequency = lookup(each.value, "backup_schedule_frequency", null)
backup_schedule_retention = lookup(each.value, "backup_schedule_retention", null)

volume_type = lookup(each.value, "volume_type", "lssd")
volume_size_in_gb = lookup(each.value, "volume_size_in_gb", null)
Expand Down

0 comments on commit dd27400

Please sign in to comment.