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} } } }