fixed pfw recreation in case public_port_end was not set

This commit is contained in:
kjubybot committed 2022-05-19 12:51:51 +03:00
1 parent 2e355d2ede
commit 8112f328a2
1 file changed
+1
+1
View File
@@ -145,6 +145,7 @@ func resourcePfwSchemaMake() map[string]*schema.Schema {
"public_port_end": { "public_port_end": {
Type: schema.TypeInt, Type: schema.TypeInt,
Optional: true, Optional: true,
Computed: true,
ForceNew: true, ForceNew: true,
ValidateFunc: validation.IntBetween(1, 65535), ValidateFunc: validation.IntBetween(1, 65535),
Description: "End port number (inclusive) for the ranged rule.", Description: "End port number (inclusive) for the ranged rule.",