Skip to content

On tfcmt possible arguments and how the arguments are processed #1033

Discussion options

You must be logged in to vote

tfcmt executes a command with arguments after --.

So tfcmt plan -- terraform plan executes a command terraform plan.
You can use any terraform options freely.

e.g.

tfcmt plan -- terraform plan -detailed-exitcode -parallelism=20

You can also execute a command other than terraform plan.

e.g.

terraform plan > result.txt 2>&1
tfcmt plan -- cat result.txt

Maybe because questions 1 and 2 are not clear to me, is it possible to have$ tfcmt plan -- terraform apply? Or $ tfcmt apply -- terraform plan ?

We don't assume the use case at all.
So I'm not sure if tfcmt works well.
Maybe tfcmt can't parse the output of the command well.

Could you explain why you want to run tfcmt plan -- terraform apply

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by suzuki-shunsuke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants