You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the cdktf-cli is able to run most terraform commands but does not support test.
I think there is a progressive way to support this command:
Allow users to write plain *.tftest.hcl next to typescript code which get copied over into the app.manifest.forStack(..).workingDirectory, simply run terraform test directly in the synthesized directory)
Add Constructs for HCL tests which synth to the test directory for the stack
The first step is a simple(r) addition to the CLI without adding more complexity to the lib
The second step adds full Terraform tests support to the CDK and requires a more well designed proposal.
References
No response
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
The text was updated successfully, but these errors were encountered:
Description
Currently the
cdktf-cli
is able to run most terraform commands but does not supporttest
.I think there is a progressive way to support this command:
*.tftest.hcl
next to typescript code which get copied over into theapp.manifest.forStack(..).workingDirectory
, simply runterraform test
directly in thesynthesized
directory)The first step is a simple(r) addition to the CLI without adding more complexity to the
lib
The second step adds full Terraform tests support to the CDK and requires a more well designed proposal.
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: