You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user has initialized a new CDK for Terraform project using the --local option. If they migrate to the remote state using the stack override option, they will need to do a terraform init which will prompt them to copy the local state to the remote state backend. Here is what it looks like.
terraform init
Initializing the backend...
Do you want to copy existing state to the new backend?
Pre-existing state was found while migrating the previous "local" backend to the
newly configured "remote" backend. No existing state was found in the newly
configured "remote" backend. Do you want to copy this state to the new "remote"
backend? Enter "yes" to copy and "no" to start with an empty state.
Enter a value:
This will hang if terraform init is triggered via cdktf diff or cdktf deploy as terraform init is waiting for confirmation from the user.
cdktf deploy
⠏ initializing hello-terraform...
We need to provide a path for the user to safely migrate from local to the remote state store.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
If a user has initialized a new CDK for Terraform project using the
--local
option. If they migrate to the remote state using the stack override option, they will need to do aterraform init
which will prompt them to copy the local state to the remote state backend. Here is what it looks like.This will hang if
terraform init
is triggered viacdktf diff
orcdktf deploy
asterraform init
is waiting for confirmation from the user.We need to provide a path for the user to safely migrate from local to the remote state store.
The text was updated successfully, but these errors were encountered: