From b32c98a41742eee54c4aed7b77321b5c7951190b Mon Sep 17 00:00:00 2001 From: Erhan Cagirici Date: Fri, 5 Jan 2024 13:11:35 +0300 Subject: [PATCH] Make endpoint provider configuration value single-element list Signed-off-by: Erhan Cagirici (cherry picked from commit 459bd0b0ba8846e8db24535b470a79cace14c2f0) --- internal/clients/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/clients/aws.go b/internal/clients/aws.go index 62faa6fd73..f305217b56 100644 --- a/internal/clients/aws.go +++ b/internal/clients/aws.go @@ -199,7 +199,7 @@ func DefaultTerraformSetupBuilder(_ context.Context, pc *v1beta1.ProviderConfig, for _, service := range pc.Spec.Endpoint.Services { endpoints[service] = aws.ToString(pc.Spec.Endpoint.URL.Static) } - ps.Configuration[keyEndpoints] = endpoints + ps.Configuration[keyEndpoints] = []any{endpoints} } } }