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

Running CodeBuild on Docker Container uses Master Role and NOT Agent Role #113

Open
njaved opened this issue Sep 17, 2021 · 0 comments
Open

Comments

@njaved
Copy link

njaved commented Sep 17, 2021

Hello, my Jenkins is setup on ECS Fargate. We trigger builds using Jenkins ECS Plugin which launches a docker agent and runs jobs on it. The issue sounds similar where it seems to keep picking the Master Role rather then the Agent Role with Codebuild Plugin.

When I run sh 'aws sts get-caller-identity'. I get the right role information. As soon as I run the Codebuild plugin, it starts seeing the Master Role. Not sure how Codebuild plugin is picking up Master Role when running "aws sts get-caller-identity' right before shows the correct Agent Role.

JadyLiu had a similar issue here #16.

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