You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The amount of time AWS Backup attempts a backup before canceling the job and returning an error. Defaults to 8 hours.
string
"480"
no
create_iam_role
Create a new IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource.
string
"false"
no
iam_role_arn
The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource.
string
""
no
iam_role_name
The name of the newly created Backup IAM Role.
string
""
no
kms_key_arn
The server-side encryption key that is used to protect your backups.
string
""
no
lifecycle
Optionally specify lifecycle configuration for the backup. use_lifecycle must be true. cold_storage_after - (Optional) Specifies the number of days after creation that a recovery point is moved to cold storage. delete_after (Optional) - Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after. Example: lifecycle = { cold_storage_after = 10 delete_after = 100 }
map
<map>
no
plan_name
The display name of a backup plan.
string
n/a
yes
plan_tags
Map of Backup plan tags. i.e. { 'tag_name' = 'tag_value' }
map
<map>
no
recovery_point_tags
Map of Metadata that you can assign to help organize the resources that you create. i.e. {tag_name='tag_value'}.
map
<map>
no
resources
An list of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan. Must use selection_tag and/or resources. i.e ['arn:aws:ec2:us-east-1:123456789012:volume/','arn:aws:ec2:us-east-1:56789012234:volume/']
The display name of a resource selection document.
string
n/a
yes
selection_tag
List of Tag-based conditions used to specify a set of resources to assign to a backup plan. Must use selection_tag and/or resources. i.e. [{ type = "STRINGEQUALS" key = "foo" value = "bar" }]
list
<list>
no
start_window
The amount of time in minutes after a backup is scheduled before a job is canceled if it doesn't start successfully. Minimum and Default value is 60. Max is 720 (12 Hours).
string
"60"
no
use_lifecycle
Set to true if an input was provided for variable lifecycle.
string
"false"
no
vault_name
Name of the backup vault to create.
string
n/a
yes
vault_tags
Map of Metadata that you can assign to help organize the resources that you create. i.e. { tag_name_one = "tag_value_one" tag_name_two = "tag_value_two" }
map
<map>
no
Outputs
Name
Description
backup_iam_role_arn
ARN for given IAM Role or newly created IAM Role.
plan_arn
Plan ARN.
plan_id
Plan ID
plan_version
Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
selection_id
Backup Selection identifier.
vault_arn
The ARN of the vault.
vault_name
The name of the vault.
vault_recovery_points
The number of recovery points that are stored in a backup vault.