From dcc0dd5263cd6961748ddd6f8b302d95c7bee504 Mon Sep 17 00:00:00 2001 From: George Nikolopoulos Date: Tue, 7 Jul 2020 17:02:31 +0300 Subject: [PATCH] Fix sslcertkey to ignore passplain and password attributes during read Signed-off-by: George Nikolopoulos --- citrixadc/resource_citrixadc_sslcertkey.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/citrixadc/resource_citrixadc_sslcertkey.go b/citrixadc/resource_citrixadc_sslcertkey.go index d300fe311..6628f3bdb 100644 --- a/citrixadc/resource_citrixadc_sslcertkey.go +++ b/citrixadc/resource_citrixadc_sslcertkey.go @@ -185,8 +185,10 @@ func readSslcertkeyFunc(d *schema.ResourceData, meta interface{}) error { d.Set("nodomaincheck", data["nodomaincheck"]) d.Set("notificationperiod", data["notificationperiod"]) d.Set("ocspstaplingcache", data["ocspstaplingcache"]) - d.Set("passplain", data["passplain"]) - d.Set("password", data["password"]) + // `passplain` and `password` are not returned by NITRO request + // commenting out to avoid perpetual divergence between local and remote state + //d.Set("passplain", data["passplain"]) + //d.Set("password", data["password"]) return nil