You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
The sensitive parameter is required for the output.
Error:
Error: Output refers to sensitive values
on outputs.tf line 1:
1: output "linux_function_app" {
Solution: Add sensitive = true to the output
output"linux_function_app" {
description="Linux Function App output object if Linux is chosen. Please refer to `./modules/linux-function/README.md`"value=try(module.linux_function["enabled"], null)
sensitive=true
}
output"windows_function_app" {
description="Windows Function App output object if Windows is chosen. Please refer to `./modules/windows-function/README.md`"value=try(module.windows_function["enabled"], null)
sensitive=true
}
Error: Output refers to sensitive values
on outputs.tf line 1:
1: output "linux_function_app" {
To reduce the risk of accidentally exporting sensitive data that was intended
to be only internal, Terraform requires that any root module output
containing sensitive data be explicitly marked as sensitive, to confirm your
intent.
If you do intend to export this data, annotate the output value as sensitive
by adding the following argument:
sensitive = true
Expected Behaviour
No response
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
I see the same issue here as with other claranet modules (like eventhub) where our Terragrunt/Terraform pipeline complains about the missing sensitive = true argument:
module.linux_function["enabled"].module.diagnostics.azurerm_monitor_diagnostic_setting.main[0]: Creation complete after 4s [id=/subscriptions/f7c1a591-6b7c-4aee-b0aa-3ef509b9218a/resourceGroups/rg-sgc-sus-ops1-germanywestcentral/providers/Microsoft.Web/sites/fun-sgc-sus-ops1-germanywestcentral|default]
╷
│ Error: Output refers to sensitive values
│
│ on outputs.tf line 1:
│ 1: output "linux_function_app" {
│
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│ sensitive = true
Would be great to have this argument added so we can continue to use the otherwise excellent modules. Thanks!
Community Note
Description
The sensitive parameter is required for the output.
Error:
Solution: Add
sensitive = true
to the outputTerraform Version
1.3.9
AzureRM Provider Version
3.92.0
Affected Resource(s)/Data Source(s)
azurerm_linux_function_app.linux_function
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No response
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: