question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cdktf deploy errors when using Terraform Cloud remote backend

See original GitHub issue

When using Terraform Cloud the cdktf deploy command fails to save generated plan as it is not supported by the remote backend that has remote plan/apply turned on.

Error: Saving a generated plan is currently not supported
The "remote" backend does not support saving the generated execution plan
locally at this time.
Warning: Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.

This is currently not supported by Terraform. See: https://github.com/hashicorp/terraform/issues/22779

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
anubhavmishracommented, Jul 15, 2020

I have added a note in our documentation here.

1reaction
skorfmanncommented, Jul 15, 2020

For further clarification: This applies to pre-existing workspaces which were setup for remote execution. The default cdktf init workflow - where a new workspace is created - is not affected by this, since the workspace will be properly setup for local execution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy Applications with CDK for Terraform
Deploy an application on Kubernetes with CDK for Terraform (CDKTF). ... Terraform state locally, rather than in a remote backend such as Terraform...
Read more >
CDK for Terraform (CDKTF) on AWS: How to Configure an ...
Deploying an S3 bucket, DynamoDB table and configuring an S3 remote backend. Learning how to read/use AWS Provider Submodules and Construct Hub ...
Read more >
Store Terraform state in Azure Storage
Configure remote state storage account. Before you use Azure Storage as a backend, you must create a storage account. Run the following commands ......
Read more >
hashicorp-terraform/Lobby - Gitter
In my local environment I can run cdktf fine with our terraform enterprise server as the remote backend. however, when I deploy in...
Read more >
Errors during deployment to AWS using Terraform (cdktf)
Your diagnosis seems right, there might be some stray resources left behind due to an aborted / unfinished Terraform run.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found