dynatrace-oss / terraform-provider-dynatrace

Apache License 2.0
70 stars 33 forks source link

Provide logging capabilities using Terraform Logging #539

Open Reinhard-Pilz-Dynatrace opened 3 weeks ago

Reinhard-Pilz-Dynatrace commented 3 weeks ago

The Terraform Provider currently prints out debug logs into external files. It doesn't use stdout because the channel is reserved for communication between Terraform and the Provider. Within CI/CD environments, especially when Terraform is getting executed within a Container, it's however difficult to get to such log files.

Solution: Utilize Terraform Logging capabilities so that Terraform would be able to capture the output and dump them onto stdout.

Reinhard-Pilz-Dynatrace commented 5 days ago

Minimum goal should be to produce optionally HTTP traffic within Terraform logs (in addition to the external log file).