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 comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.
In Terraform plan command's output, app_settings shall show the diff for each key, highlighting the added, removed and updated settings with their values (if not marked as secrets)
Actual Behaviour
~ app_settings = (sensitive value) hides all changes, making difficult to predict apply outcome
However, this happens only if a value of a variable marked as sensitive is used as app setting. The behavior is instead correct when a sensitive output (such as Storage Account connection string) is set in the app settings
Steps to Reproduce
create a function app with some setting, including sensitive ones (do not use variables)
change value of the settings on your Terraform code
run terraform plan
the output should reflect your changes properly
add a variable in your Terraform configuration and mark it as sensitive
assign that variable to a new or existing app setting
run terraform plan
the entire app_settings block is now hidden
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Community Note
Terraform Version
1.10.1
AzureRM Provider Version
4.14.0
Affected Resource(s)/Data Source(s)
azurerm_linux_function_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
In Terraform plan command's output,
app_settings
shall show the diff for each key, highlighting the added, removed and updated settings with their values (if not marked as secrets)Actual Behaviour
~ app_settings = (sensitive value)
hides all changes, making difficult to predictapply
outcomeHowever, this happens only if a value of a variable marked as
sensitive
is used as app setting. The behavior is instead correct when a sensitive output (such as Storage Account connection string) is set in the app settingsSteps to Reproduce
terraform plan
terraform plan
app_settings
block is now hiddenImportant Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: