diff --git a/azurerm/coverage/coverage.go b/azurerm/coverage/coverage.go index 2d72f314..821a8bc2 100644 --- a/azurerm/coverage/coverage.go +++ b/azurerm/coverage/coverage.go @@ -36,10 +36,16 @@ func GetApiVersion(idPattern string) string { } func GetPutCoverage(props []string, idPattern string) ([]string, []string) { + if true { + return props, nil + } return getCoverage(props, "PUT", idPattern) } func GetGetCoverage(props []string, idPattern string) ([]string, []string) { + if true { + return props, nil + } return getCoverage(props, "GET", idPattern) } diff --git a/cmd/migrate_command.go b/cmd/migrate_command.go index 1e7b4843..6fba51f4 100644 --- a/cmd/migrate_command.go +++ b/cmd/migrate_command.go @@ -298,7 +298,6 @@ func (c MigrateCommand) MigrateGenericUpdateResource(terraform *tf.Terraform, re } // import and generate config - newAddrs := make([]string, 0) for index, r := range resources { log.Printf("[INFO] migrating resource %s to resource %s", r.OldAddress(), r.NewAddress()) if block, err := importAndGenerateConfig(tempTerraform, r.NewAddress(), r.Id, r.ResourceType, true); err == nil { @@ -309,7 +308,6 @@ func (c MigrateCommand) MigrateGenericUpdateResource(terraform *tf.Terraform, re } resources[index].Block = helper.InjectReference(resources[index].Block, resources[index].References) resources[index].Migrated = true - newAddrs = append(newAddrs, r.NewAddress()) log.Printf("[INFO] %s has migrated to %s", r.OldAddress(), r.NewAddress()) } else { log.Printf("[ERROR] %+v", err)