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

aws-ecs-1: enable task IAM role support #1007

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

samuelkarp
Copy link
Contributor

Issue number:
#815

Description of changes:
This change enables the task role capabilities so Bottlerocket instances become eligible for placement for tasks with roles.

Testing done:
Launched a new Bottlerocket instance. Saw the following capabilities registered successfully:

  • com.amazonaws.ecs.capability.task-iam-role-network-host
  • com.amazonaws.ecs.capability.task-iam-role

Ran two tasks using task roles, one in the bridge (default) network mode and the other in host (requires the task-iam-role-network-host capability). Observed that the containers were able to use the role and successfully make API calls requiring permissions that were not in the instance's role.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@samuelkarp samuelkarp requested review from jahkeup and srgothi92 August 3, 2020 22:45
@samuelkarp samuelkarp merged commit d73f0d3 into bottlerocket-os:develop Aug 5, 2020
@samuelkarp samuelkarp deleted the ecs-task-role branch August 5, 2020 00:54
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

Successfully merging this pull request may close these issues.

3 participants