diff --git a/internal/clients/gcp.go b/internal/clients/gcp.go index 6de78683..33413c72 100644 --- a/internal/clients/gcp.go +++ b/internal/clients/gcp.go @@ -61,7 +61,7 @@ func TerraformSetupBuilder(version, providerSource, providerVersion string) terr keyProject: pc.Spec.ProjectID, } - switch s := pc.Spec.Credentials.Source; s { //nolint:exhaustive + switch pc.Spec.Credentials.Source { //nolint:exhaustive case xpv1.CredentialsSourceInjectedIdentity: // We don't need to do anything here, as the TF Provider will take care of workloadIdentity etc. default: