From ff337a74c722e8cbefca2ec0a7c3cf44f5fceaf5 Mon Sep 17 00:00:00 2001 From: ammarekbote Date: Wed, 16 Aug 2023 09:24:52 -0700 Subject: [PATCH] fix: do not update private key id on read (#531) --- lacework/resource_lacework_integration_gcp_agentless_scanning.go | 1 - 1 file changed, 1 deletion(-) diff --git a/lacework/resource_lacework_integration_gcp_agentless_scanning.go b/lacework/resource_lacework_integration_gcp_agentless_scanning.go index 34382180..3e7c8482 100644 --- a/lacework/resource_lacework_integration_gcp_agentless_scanning.go +++ b/lacework/resource_lacework_integration_gcp_agentless_scanning.go @@ -319,7 +319,6 @@ func resourceLaceworkIntegrationGcpAgentlessScanningRead(d *schema.ResourceData, creds := make(map[string]string) creds["client_id"] = integration.Data.Credentials.ClientID creds["client_email"] = integration.Data.Credentials.ClientEmail - creds["private_key_id"] = integration.Data.Credentials.PrivateKeyID creds["token_uri"] = integration.Data.Credentials.TokenUri d.Set("credentials", []map[string]string{creds}) d.Set("resource_level", integration.Data.IDType)