Skip to content

Commit

Permalink
#24134: Changes as per the review
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavmb committed Dec 19, 2023
1 parent 6613b8d commit c0d73f7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions internal/services/appservice/linux_function_app_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
"github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema"
"github.com/hashicorp/go-azure-helpers/resourcemanager/location"
"github.com/hashicorp/terraform-provider-azurerm/internal/features"
"github.com/hashicorp/terraform-provider-azurerm/internal/sdk"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/appservice/helpers"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/appservice/parse"
Expand Down Expand Up @@ -235,9 +236,14 @@ func (r LinuxFunctionAppResource) Arguments() map[string]*pluginsdk.Schema {
},

"functions_extension_version": {
Type: pluginsdk.TypeString,
Optional: true,
Default: "~4",
Type: pluginsdk.TypeString,
Optional: true,
Default: func() interface{} {
if !features.FourPointOhBeta() {
return "~3"
}
return "~4"
},
Description: "The runtime version associated with the Function App.",
},

Expand Down

0 comments on commit c0d73f7

Please sign in to comment.