mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 17:11:30 +00:00
1426cdd072
AWS percent-encodes every policy document it returns. Spinifex returned raw JSON, so a client decoding once read '+' as a space and '%41' as 'A', giving perpetual Terraform drift, and a lone '%' failed the read. Encode in the gateway wrappers for CreateRole, GetRole, ListRoles, GetRolePolicy, GetUserPolicy, GetGroupPolicy, GetPolicyVersion and the instance-profile reads. The service layer keeps raw JSON because STS and spx admin parse it in-process. The web UI now decodes role inline policies like every other document.