The following code snippet is my terraform configuration to create an Azure SignalR Service:
output "signalrserviceconnstring" {
value = azurerm_signalr_service.mysignalrservice.primary_connection_string
description = "signalR service's primary connection string"
sensitive = true
}
I got an error when sensitive = true
is not included but I still do not see the output results on the console. What's the solution or workaround for this problem?
The entire point of sensitive = true
is to prevent the values from being displayed on the console every time you run terraform apply
. You have to output the sensitive value explicitly, like this:
terraform output signalrserviceconnstring
I highly suggest reading the documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With