How to view logs


I’m trying to learn Terraform and i try to use provisioner :wink:

so i don’t have error message when tf apply but no file in cloud virtual machine.

i want to see terrform logs for understand problem

i use terraform with aws

provisioner "file" {
source = "hello"
destination = "home/hello"

connection {
type = "ssh"
host = self.public_ip
user = "ubuntu"
private_key = "${file("serveur_openssh.pem")}"