From 8112f328a2882cfb1936610458f2e4c9d615aefe Mon Sep 17 00:00:00 2001 From: kjubybot Date: Thu, 19 May 2022 12:51:51 +0300 Subject: [PATCH] fixed pfw recreation in case public_port_end was not set --- decort/resource_pfw.go | 1 + 1 file changed, 1 insertion(+) diff --git a/decort/resource_pfw.go b/decort/resource_pfw.go index 3c2cb6e..314bc1a 100644 --- a/decort/resource_pfw.go +++ b/decort/resource_pfw.go @@ -145,6 +145,7 @@ func resourcePfwSchemaMake() map[string]*schema.Schema { "public_port_end": { Type: schema.TypeInt, Optional: true, + Computed: true, ForceNew: true, ValidateFunc: validation.IntBetween(1, 65535), Description: "End port number (inclusive) for the ranged rule.",