File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Automatic migration support for upgrading from single plan to multiple plans
2- # These moved blocks automatically handle the most common migration case:
3- # - Migrating from a single plan (ab_plan[0]) to multiple plans with "default" key
4- # - Migrating from single selection (ab_selection[0]) to plan selection with "default-selection" key
5- #
6- # To benefit from automatic migration:
7- # 1. Structure your new config with plans = { default = { ... } }
8- # 2. Name your selection "selection" in the new structure
9- # 3. Run terraform plan/apply - resources will be moved automatically
10- #
11- # For other migration scenarios, see examples/migration_guide/
12-
13- moved {
14- from = aws_backup_plan. ab_plan [0 ]
15- to = aws_backup_plan. ab_plans [" default" ]
16- }
171
18- moved {
19- from = aws_backup_selection. ab_selection [0 ]
20- to = aws_backup_selection. plan_selections [" default-selection" ]
21- }
222
233# AWS Backup vault
244resource "aws_backup_vault" "ab_vault" {
You can’t perform that action at this time.
0 commit comments