Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows EC2 onboarding when using a secondary AWS account. #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcosteatcyberark
Copy link

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
  • 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
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
  • This PR does not require updating any documentation

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. This commit fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Elasticity Lambda fails to onboard Windows EC2 instances on a secondary AWS account.
2 participants