diff --git a/internal/cluster/provisioners/eks/provisioner.go b/internal/cluster/provisioners/eks/provisioner.go index 855b103ed..54927bc70 100644 --- a/internal/cluster/provisioners/eks/provisioner.go +++ b/internal/cluster/provisioners/eks/provisioner.go @@ -128,7 +128,7 @@ func (e EKS) createVarFile() (err error) { groups = ["%v"] username = "%v" userarn = "%v" -} +}, `, strings.Join(account.Groups, "\",\""), account.Username, account.UserARN, )) } @@ -143,7 +143,7 @@ func (e EKS) createVarFile() (err error) { groups = ["%v"] username = "%v" rolearn = "%v" -} +}, `, strings.Join(account.Groups, "\",\""), account.Username, account.RoleARN, )) }