From 5ea1e5d6d18db86c72baff9ed40151475964d269 Mon Sep 17 00:00:00 2001 From: Salim Afiune Maya Date: Tue, 24 Nov 2020 15:24:45 +0100 Subject: [PATCH] fix(docker): avoid loading non-existing password The Lacework API doesn't return passwords/secrets, therefore we should not try to load them. Closes https://github.com/lacework/terraform-provider-lacework/issues/42 Signed-off-by: Salim Afiune Maya --- lacework/resource_lacework_integration_docker_hub.go | 1 - 1 file changed, 1 deletion(-) diff --git a/lacework/resource_lacework_integration_docker_hub.go b/lacework/resource_lacework_integration_docker_hub.go index a8ee82fa..6d41ead5 100644 --- a/lacework/resource_lacework_integration_docker_hub.go +++ b/lacework/resource_lacework_integration_docker_hub.go @@ -148,7 +148,6 @@ func resourceLaceworkIntegrationDockerHubRead(d *schema.ResourceData, meta inter d.Set("org_level", integration.IsOrg == 1) d.Set("username", integration.Data.Credentials.Username) - d.Set("password", integration.Data.Credentials.Password) d.Set("limit_by_tag", integration.Data.LimitByTag) d.Set("limit_by_label", integration.Data.LimitByLabel) d.Set("limit_by_repos", integration.Data.LimitByRep)