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

How to influence IAM role used by a command document's aws:runShellScript? #610

Open
arianvp opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@arianvp
Copy link

arianvp commented Dec 18, 2024

I noticed that when I switched on Default Host Management Configuration that any aws:runShellScript action runs with the credentials of the role configured there instead of the instance's instance profile credentials. This breaks some existing command documents that I created that relied on the instance profile of the targeted hosts.

Is there a way to override this behavior and have a command use the credentials of the instance profile, even though the host was registered using the default host management role?

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

1 participant