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

Join Failed RunCommand #1

Open
thebigcosinus opened this issue Dec 12, 2022 · 1 comment
Open

Join Failed RunCommand #1

thebigcosinus opened this issue Dec 12, 2022 · 1 comment

Comments

@thebigcosinus
Copy link

thebigcosinus commented Dec 12, 2022

Hi,

I cannot join the AD, in the JoinDomain action, I've got an issue with permission.

Do I have to give a specific instance profile to my instance to use this script ? Or the assumerole in the document is enough ?

I'm not able to get the parameters in Parameter Store

Regards

@syahmadaws
Copy link
Contributor

syahmadaws commented Jul 17, 2023

Apologies for the delay. Are you able to paste the error? If you are running the runbook within the AWS Systems Manager (i.e. from the Automation console in Systems Manager) then you do not have to assume a role to execute. You would need to assume a role if you were executing the runbook from another service (for example, as a triggered event with EventBridge). The IAM role assigned to the EC2 instance would need the AmazonSSMManagedInstanceCore policy attached run the RunCommand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants