From 3f4ededc7de5d2a2db08d376a88a263032eaf650 Mon Sep 17 00:00:00 2001 From: Amund Tenstad Date: Sun, 29 Aug 2021 17:34:03 +0200 Subject: [PATCH] Add ForceNew to result_conn --- internal/provider/data_source_remote_file.go | 1 + internal/provider/resource_remote_file.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/provider/data_source_remote_file.go b/internal/provider/data_source_remote_file.go index f1584e4..4f0978a 100644 --- a/internal/provider/data_source_remote_file.go +++ b/internal/provider/data_source_remote_file.go @@ -25,6 +25,7 @@ func dataSourceRemoteFile() *schema.Resource { "result_conn": { Type: schema.TypeList, Computed: true, + ForceNew: true, Description: "Result of applying provider's `conn` as default to optional `conn`", Elem: connectionSchemaResource, }, diff --git a/internal/provider/resource_remote_file.go b/internal/provider/resource_remote_file.go index f6e527b..1a5bb78 100644 --- a/internal/provider/resource_remote_file.go +++ b/internal/provider/resource_remote_file.go @@ -29,6 +29,7 @@ func resourceRemoteFile() *schema.Resource { "result_conn": { Type: schema.TypeList, Computed: true, + ForceNew: true, Description: "Computed conn for handling default functionality.", Elem: connectionSchemaResource, },