Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPONENT: Running terraform --reconfigure --upgrade through cdktf #3615

Open
1 task
mimozell opened this issue May 6, 2024 · 0 comments
Open
1 task

COMPONENT: Running terraform --reconfigure --upgrade through cdktf #3615

mimozell opened this issue May 6, 2024 · 0 comments
Labels
cdktf-cli core-parity Better experience in Terraform Core than CDKTF documentation Improvements or additions to documentation priority/important-longterm Medium priority, to be worked on within the following 1-2 business quarters.

Comments

@mimozell
Copy link

mimozell commented May 6, 2024

Description

Trying to understand how to work with cdktf when using a newer version of terraform. My current experience is that when doing the TF upgrade and running a cdktf deploy, I get this error:

          │ Error: Backend configuration changed
          │ 
          │ A change in the backend configuration has been detected, which may require
          │ migrating existing state.
          │ 
          │ If you wish to attempt automatic migration of the state, use "terraform init
          │ -migrate-state".
          │ If you wish to store the current configuration with no changes to the state,
          │ use "terraform init -reconfigure".

Is there some way to handle this without going to each cdktf.out folder and running terraform? That is very cumbersome to do and should be handled at the cdktf stack level. In the documentation I don't see any information related to this.

Links

Docs don't exist

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@mimozell mimozell added documentation Improvements or additions to documentation new Un-triaged issue labels May 6, 2024
@ansgarm ansgarm added cdktf-cli priority/important-longterm Medium priority, to be worked on within the following 1-2 business quarters. core-parity Better experience in Terraform Core than CDKTF and removed new Un-triaged issue labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cdktf-cli core-parity Better experience in Terraform Core than CDKTF documentation Improvements or additions to documentation priority/important-longterm Medium priority, to be worked on within the following 1-2 business quarters.
Projects
None yet
Development

No branches or pull requests

2 participants