From 2501e45868dd5a65572c2dd95097786dd24e098a Mon Sep 17 00:00:00 2001 From: SuperHiroki Date: Sat, 30 Nov 2024 19:20:06 +0900 Subject: [PATCH] Corrected the key name used for SkipPlan in state migration from "to_skip_plan" to "skip_plan". --- tfmigrate/state_migrator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfmigrate/state_migrator.go b/tfmigrate/state_migrator.go index 003d73c..a44a483 100644 --- a/tfmigrate/state_migrator.go +++ b/tfmigrate/state_migrator.go @@ -29,7 +29,7 @@ type StateMigratorConfig struct { // When set forces applying even if plan shows diff. Force bool `hcl:"force,optional"` // SkipPlan controls whether or not to run and analyze Terraform plan. - SkipPlan bool `hcl:"to_skip_plan,optional"` + SkipPlan bool `hcl:"skip_plan,optional"` // Workspace is the state workspace which the migration works with. Workspace string `hcl:"workspace,optional"` }