Update `!terraform.state` YAML function @aknysh (#1374)
what
- Update
!terraform.state
YAML function - Update docs
- Add unit tests
why
- In
!terraform.state
YAML function, for thes3
backend, when assuming an IAM role to access the backend, theassume_role.role_arn
section was processed correctly, but the deprecatedrole_arn
section (not underassume_role
) was not. This release fixes it