unifi_port_forward enabled should default to true (#258)

Fixes https://github.com/paultyng/terraform-provider-unifi/issues/255
This commit is contained in:
Christian Winther
2023-02-27 22:29:54 +01:00
committed by GitHub
parent b3662a627f
commit 7296c9d730

View File

@@ -44,6 +44,7 @@ func resourcePortForward() *schema.Resource {
"enabled": {
Description: "Specifies whether the port forwarding rule is enabled or not.",
Type: schema.TypeBool,
Default: true,
Optional: true,
Deprecated: "This will attribute will be removed in a future release. Instead of disabling a " +
"port forwarding rule you can remove it from your configuration.",