-
Notifications
You must be signed in to change notification settings - Fork 612
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
Update task IAM role model to support Single Region Accounts #4039
Conversation
@@ -95,7 +95,8 @@ const ( | |||
"expiration": "2016-03-25T06:17:19.318+0000", | |||
"roleArn": "r1", | |||
"secretAccessKey": "secretAccessKey", | |||
"sessionToken": "token" | |||
"sessionToken": "token", | |||
"credentialScope": "scope" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation seems correct from my end, don't know why it looks weird here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, thanks
cf1c792
into
aws:feature/single-region-accounts
Summary
Update task IAM role model to support Single Region Accounts
Implementation details
Update IAM role credentials model passed from ACS to the agent to include the
CredentialScope
field inecs-agent/credentials/manager.go
and existing tests. The updated field will be passed through from the agent to the customer application container via the ecs-agent container credentials handler in/ecs-agent/tmds/handlers/v1/credentials_handler.go
.CredentialScope
will be return as part of JSON response by credentials handler along with other credentials.Testing
Unit, integration, and functional tests.
New tests cover the changes: no
Description for the changelog
Update task IAM role model
Does this PR include breaking model changes? If so, Have you added transformation functions?
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.