Open karthikns16 opened 3 years ago
I have a very similar use case with SignalFX provider, where it turns out that -parallelism=1
can be used as a workaround.
It might be interesting to explore allowing something like cdktf deploy stack -- -parallelism=1 -target=mymodule
.
I've worked with a few tools that have this idea of a separator after which all options are directly passed to underlying tools. In this example an empty --
is treated as the separator, but could come up with something else.
I think this will be solved between #2107 and the move to Terraform CLI
Closed by #2468
While a few cli flags are supported, there still isn't general support for them.
Community Note
Description
I am working on setting up OKTA application using OKTA provider https://registry.terraform.io/providers/oktadeveloper/okta/latest/docs
This provider seems to have a bug https://github.com/okta/terraform-provider-okta/issues/162 and are unable to handle parallel request sent by terraform. We have to use
-parallelism=1
. cdktf deploy doesn't seem support terraform cli optionsHence instead of using cdktf deploy, I have to resort to using
terraform apply --auto-approve -parallelism=1
after cdktf synthWould be great if terraform cli options honored by cdktf cli
References