cyberark-aws-auto-onboarding
cyberark-aws-auto-onboarding copied to clipboard
Fix Windows EC2 onboarding when using a secondary AWS account.
When onboarding a Windows instance from a secondary AWS account, the Elasticity lambda is configured to use an AssumeRole called CyberArk-AOB-AssumeRoleForElasticityLambda in order to acquire the necessary permissions. A typo in instance_processing::get_instance_password_data() prevents the session token from being retrieved, and consequently to onboard the instance.
What does this PR do?
This PR fixes the bug described above.
What ticket does this PR close?
Resolves #61
Checklists
Change log
- [ ] The CHANGELOG has been updated, or
- [x] This PR does not include user-facing changes and doesn't require a CHANGELOG update
Test coverage
- [ ] This PR includes new unit and integration tests to go with the code changes, or
- [x] The changes in this PR do not require tests
Documentation
- [ ] Docs (e.g.
README
s) were updated in this PR, and/or there is a follow-on issue to update docs, or - [x] This PR does not require updating any documentation