debian-mirror-gitlab/lib/backup/terraform_state.rb

15 lines
311 B
Ruby
Raw Normal View History

2022-03-02 08:16:31 +05:30
# frozen_string_literal: true
module Backup
class TerraformState < Backup::Files
def initialize(progress)
2022-05-07 20:08:51 +05:30
super(progress, 'terraform_state', Settings.terraform_state.storage_path, excludes: ['tmp'])
2022-03-02 08:16:31 +05:30
end
2022-04-04 11:22:00 +05:30
2022-05-07 20:08:51 +05:30
override :human_name
2022-04-04 11:22:00 +05:30
def human_name
_('terraform states')
end
2022-03-02 08:16:31 +05:30
end
end