fixed pfw recreation in case public_port_end was not set

gos_tech_4.4.3
kjubybot 3 years ago
parent 2e355d2ede
commit 8112f328a2

@ -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.",

Loading…
Cancel
Save