Skip to content

Commit

Permalink
add 'Computed: true' to min_tls_version for function_app
Browse files Browse the repository at this point in the history
  • Loading branch information
aqche authored and Jack Batzner committed Dec 13, 2019
1 parent 1a74046 commit 8746af6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions azurerm/resource_arm_function_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,12 @@ func resourceArmFunctionApp() *schema.Resource {
"min_tls_version": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validation.StringInSlice([]string{
string(web.OneFullStopZero),
string(web.OneFullStopOne),
string(web.OneFullStopTwo),
string(web.OneFullStopZero),
}, true),
}, false),
},
"cors": azure.SchemaWebCorsSettings(),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/function_app.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The following arguments are supported:

* `http2_enabled` - (Optional) Specifies whether or not the http2 protocol should be enabled. Defaults to `false`.

* `min_tls_version` - (Optional) The minimum supported TLS version. Possible values are `1.0`, `1.1`, and `1.2`.
* `min_tls_version` - (Optional) The minimum supported TLS version for the function app. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new function apps.

* `cors` - (Optional) A `cors` block as defined below.

Expand Down

0 comments on commit 8746af6

Please sign in to comment.