From ec80a8ad19d589d1fa281a979fbd0218b377106a Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Thu, 8 Feb 2024 17:03:52 +0100 Subject: [PATCH] fix: metadata order with ForceNew (#189) --- provider/agent.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/provider/agent.go b/provider/agent.go index cdeca50..b814e15 100644 --- a/provider/agent.go +++ b/provider/agent.go @@ -241,8 +241,9 @@ func agentResource() *schema.Resource { }, "order": { Type: schema.TypeInt, - Optional: true, Description: "The order determines the position of agent metadata in the UI/CLI presentation. The lowest order is shown first and parameters with equal order are sorted by key (ascending order).", + ForceNew: true, + Optional: true, }, }, },