forked from cloudposse/terraform-aws-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
58 lines (49 loc) · 1.99 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
variable "kms_key_arn" {
type = string
description = "The server-side encryption key that is used to protect your backups"
default = null
}
variable "schedule" {
type = string
description = "A CRON expression specifying when AWS Backup initiates a backup job"
default = null
}
variable "start_window" {
type = number
description = "The amount of time in minutes before beginning a backup. Minimum value is 60 minutes"
default = null
}
variable "completion_window" {
type = number
description = "The amount of time AWS Backup attempts a backup before canceling the job and returning an error. Must be at least 60 minutes greater than `start_window`"
default = null
}
variable "cold_storage_after" {
type = number
description = "Specifies the number of days after creation that a recovery point is moved to cold storage"
default = null
}
variable "delete_after" {
type = number
description = "Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `cold_storage_after`"
default = null
}
variable "backup_resources" {
type = list(string)
description = "An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan"
}
variable "destination_vault_arn" {
type = string
description = "An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup"
default = null
}
variable "copy_action_cold_storage_after" {
type = number
description = "For copy operation, specifies the number of days after creation that a recovery point is moved to cold storage"
default = null
}
variable "copy_action_delete_after" {
type = number
description = "For copy operation, specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `copy_action_cold_storage_after`"
default = null
}