You must be logged in to view saved presets
Creates an AWS Backup plan with a specific rule and lifecycle settings, including advanced backup settings for EC2.
resource "aws_backup_plan" "example" {
advanced_backup_setting {
backup_options = {
WindowsVSS = "enabled"
}
resource_type = "EC2"
}
name = "tf_example_backup_plan"
rule {
rule_name = "tf_example_backup_rule"
schedule = "cron(0 12 * * ? *)"
target_vault_name = "aws_backup_vault.test.name"
}
}