BCDevOps / platform-services

Collection of platform related tools and configurations
Apache License 2.0
13 stars 29 forks source link

SysdigTeams Error provisioning user account #743

Open stewartshea opened 3 years ago

stewartshea commented 3 years ago

SysdigTeam isn't being provisioned properly. The error from the operator is:

fatal: [localhost]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ team_users_and_roles | default([]) + [ { 'name' : team_user.name, 'role': team_user.role, 'userID' : user_creation_output.userID } ] }}): must be str, not list"}

I suspect it's because one of the usernames on the list is defined as name.1.surname@example.com and potentially the .1 is causing the issue.

Definition of Done That type of username should be allowed and fully converted to a string.