File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,10 @@ func clientCertificateFromResourceData(d *schema.ResourceData) (checkly.ClientCe
9494func resourceDataFromClientCertificate (c * checkly.ClientCertificate , d * schema.ResourceData ) error {
9595 d .Set ("host" , c .Host )
9696 d .Set ("certificate" , c .Certificate )
97- d .Set ("private_key" , c .PrivateKey )
97+ // The backend does not return a value for PrivateKey anymore, though it
98+ // used to. The value should not change by itself, so we can simply keep
99+ // the original state.
100+ // d.Set("private_key", c.PrivateKey)
98101 d .Set ("trusted_ca" , c .TrustedCA )
99102 // The backend does not return a value for Passphrase and even it did, the
100103 // value would be encrypted. Thus, the value should never be modified.
You can’t perform that action at this time.
0 commit comments