From 900fd08d4372e7174a90c2c5ef8150068806e27d Mon Sep 17 00:00:00 2001 From: Marques Johansson Date: Thu, 26 Oct 2023 08:28:56 -0400 Subject: [PATCH] fix: restore auth keys in secrets Signed-off-by: Marques Johansson --- internal/clients/equinix.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/clients/equinix.go b/internal/clients/equinix.go index 1cda758..0c3d376 100644 --- a/internal/clients/equinix.go +++ b/internal/clients/equinix.go @@ -38,6 +38,9 @@ const ( errExtractCredentials = "cannot extract credentials" errUnmarshalCredentials = "cannot unmarshal equinix credentials as JSON" + keyClientID = "client_id" + keyClientSecret = "client_secret" + keyAuthToken = "auth_token" keyEndpoint = "endpoint" keyRequestTimeout = "request_timeout" keyResponseMaxPageSize = "response_max_page_size" @@ -84,6 +87,9 @@ func TerraformSetupBuilder(version, providerSource, providerVersion string) terr keyEndpoint, keyRequestTimeout, keyResponseMaxPageSize, + keyAuthToken, + keyClientID, + keyClientSecret, } { if equinixCreds[key] != "" { ps.Configuration[key] = equinixCreds[key]