Cdktf deploy calls terraform apply with local state

As far as I can see, when cdktf calls terraform under the hood, it does so using a local path for the “state” parameter, despite the cdktf stack configuring a remote backend. Is this intentional? Would be good to learn more about how cdktf interacts with terraform apply

It is intentional in the sense that it is a code simplification and according to terraform documentation should be ignored when remote state is configured. However, we have had some reports of issue with at least some versions of terraform, for example Parametrizing with different remote states causes unexpected issues · Issue #384 · hashicorp/terraform-cdk · GitHub.

If you run into any problems, please add to that or another issue.

thanks for responding. No issues, just thought it was strange.