Jon Steinich

Results 119 comments of Jon Steinich

> I have run into this problem multiple times. Although the solution works fine, its a very annoying to have to do this step manually especially when you have multiple...

Are you using Terraform Cloud? Do you have an `azurerm` backend configured somewhere? The local backend is added automatically if no other backends are configured within the stack.

Normally cdktf takes care of running `terraform init`. Your cdktf code can read in the configuration for a file, environment variable, or other sources. If you do want to continue...

You are declaring what resources you want in your infrastructure. In a way, each new statement is like creating the infrastructure resource. Sometimes other pieces reference that (and you assign...

@jin-ahn I copied your feedback to a new issue (#2437) so that it doesn't get lost.

While not impossible, supporting this in all cases would be a large departure from how `diff` currently works. Cross-stack references are accomplished through the use of Terraform remote state data...

> Are you suggesting that `diff` should work fine at the moment for multiple stacks where there's no dependency? No. Apologizes if I gave that impression. I simply meant that...

This sort of thing was briefly mentioned in https://github.com/hashicorp/terraform-cdk/pull/2446#pullrequestreview-1227833208. Should probably just remove the `keysToSnakeCase` function and explicitly set in the few places where it is still needed.

Related to #1518 If you are using typescript, you may also want to take a look at https://github.com/cdktf/cdktf-tf-module-stack

Try removing the reference to cdktf from `MyTerraformStack.csproj`. That did seem to make a difference in the testing that I was doing. I did observe that this issue was inconsistent,...