From 2b2e9a58f949c8c2ed720808f9b389f1f08b4fb7 Mon Sep 17 00:00:00 2001 From: Nic Manoogian Date: Tue, 20 Feb 2024 12:46:13 -0500 Subject: [PATCH] Set ForceNew for doppler_secret project and config --- doppler/resource_secret.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doppler/resource_secret.go b/doppler/resource_secret.go index e05b71a..0f95bce 100644 --- a/doppler/resource_secret.go +++ b/doppler/resource_secret.go @@ -25,11 +25,15 @@ func resourceSecret() *schema.Resource { Description: "The name of the Doppler project", Type: schema.TypeString, Required: true, + // Secrets cannot be moved directly from one project to another, they must be re-created + ForceNew: true, }, "config": { Description: "The name of the Doppler config", Type: schema.TypeString, Required: true, + // Secrets cannot be moved directly from one config to another, they must be re-created + ForceNew: true, }, "name": { Description: "The name of the Doppler secret",