How to show kubernetes logs in Terraform

9/17/2020

I run terraform with kubernetes_pod module, but it fails with "the server could not find the requested resource (post pods)". How can I get more meaningful error message?

-- Matthias Danetzky
kubernetes
terraform

1 Answer

9/17/2020

You can set the terraform log to debug or trace like this :

export TF_LOG=DEBUG

https://www.terraform.io/docs/internals/debugging.html

-- Montassar Bouajina
Source: StackOverflow