Multi-state migration prompt fix
This commit is contained in:
parent
cc6de251d8
commit
1ff7827416
|
@ -729,7 +729,7 @@ func (m *Meta) promptMultiStateMigrationPattern(sourceType string) (string, erro
|
||||||
pattern, err := m.UIInput().Input(context.Background(), &terraform.InputOpts{
|
pattern, err := m.UIInput().Input(context.Background(), &terraform.InputOpts{
|
||||||
Id: "backend-migrate-multistate-to-tfc-pattern",
|
Id: "backend-migrate-multistate-to-tfc-pattern",
|
||||||
Query: fmt.Sprintf("[reset][bold][yellow]%s[reset]", "What pattern would you like to add to all your workspaces?"),
|
Query: fmt.Sprintf("[reset][bold][yellow]%s[reset]", "What pattern would you like to add to all your workspaces?"),
|
||||||
Description: fmt.Sprintf(strings.TrimSpace(tfcInputBackendMigrateMultiToMultiPattern), sourceType),
|
Description: strings.TrimSpace(tfcInputBackendMigrateMultiToMultiPattern),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", fmt.Errorf("Error asking for state migration action: %s", err)
|
return "", fmt.Errorf("Error asking for state migration action: %s", err)
|
||||||
|
|
Loading…
Reference in New Issue