terratest
terratest copied to clipboard
MigrateState not working with Workspace
When using MigrateState Terraform option with a Workspace(terraform.WorkspaceSelectOrNew
) I see the following failure:
Error: Error asking for state migration action: Error asking for confirmation: EOF
Presumably, there are extra prompts when using workspaces...
If I run the same tests without the workspace it works as expected.
Hm, yea, looks like a bug. We probably need some sort of -input=false
or other "non-interactive" style flag here. PRs with a fix are very welcome.