Skip to content

Commit

Permalink
[azurerm_function_app] App Settings should be Computed (#8682)
Browse files Browse the repository at this point in the history
Function Apps should have computed App Settings just like App Services do, since they are effectively two different offshoots of the same resource type behind the scenes.

Also required as discussed in [this thread](hashicorp/terraform#26401 (comment))
  • Loading branch information
nexxai authored Oct 4, 2020
1 parent ab4a762 commit d3a3de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions azurerm/internal/services/web/resource_arm_function_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func resourceArmFunctionApp() *schema.Resource {
"app_settings": {
Type: schema.TypeMap,
Optional: true,
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func resourceArmFunctionAppSlot() *schema.Resource {
"app_settings": {
Type: schema.TypeMap,
Optional: true,
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
},
Expand Down

0 comments on commit d3a3de0

Please sign in to comment.