We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0447b commit c213e3dCopy full SHA for c213e3d
checkly/resource_client_certificate.go
@@ -94,7 +94,10 @@ func clientCertificateFromResourceData(d *schema.ResourceData) (checkly.ClientCe
94
func resourceDataFromClientCertificate(c *checkly.ClientCertificate, d *schema.ResourceData) error {
95
d.Set("host", c.Host)
96
d.Set("certificate", c.Certificate)
97
- d.Set("private_key", c.PrivateKey)
+ // 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)
101
d.Set("trusted_ca", c.TrustedCA)
102
// The backend does not return a value for Passphrase and even it did, the
103
// value would be encrypted. Thus, the value should never be modified.
0 commit comments