From 3168f4883e3c980172ede35219d5e620d8f50c8c Mon Sep 17 00:00:00 2001 From: Jeff French Date: Wed, 3 Jul 2019 15:00:49 -0500 Subject: [PATCH] Don't force new cert if cert data or password changes --- octopusdeploy/resource_certificate.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/octopusdeploy/resource_certificate.go b/octopusdeploy/resource_certificate.go index b3c5efdbb..cb4ba7aad 100644 --- a/octopusdeploy/resource_certificate.go +++ b/octopusdeploy/resource_certificate.go @@ -24,16 +24,14 @@ func resourceCertificate() *schema.Resource { Optional: true, }, "certificate_data": { - Type: schema.TypeString, - Required: true, + Type: schema.TypeString, + Required: true, Sensitive: true, - ForceNew: true, }, - "password": { - Type: schema.TypeString, - Optional: true, + "password": { + Type: schema.TypeString, + Optional: true, Sensitive: true, - ForceNew: true, }, "environment_ids": { Type: schema.TypeList,