File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
ecs-agent/credentials/providers Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ func (p *InstanceCredentialsProvider) Retrieve(ctx context.Context) (aws.Credent
5858// takes precedence over the `SharedCredentialsProvider` for ECS-A.
5959//
6060// * On EC2, the `EC2RoleProvider` takes precedence over the `RotatingSharedCredentialsProvider`.
61- // Any attempt to run ECS-A on EC2 with SSM credentials will fail if there is an instance role
62- // attached to the EC2 instance. Prioritizing `RotatingSharedCredentialsProvider` over the
61+ // Prioritizing `RotatingSharedCredentialsProvider` over the
6362// `EC2RoleProvider` ensures that SSM credentials will be used if they are available,
6463// and the EC2 credentials will only be used as a last-resort.
6564
You can’t perform that action at this time.
0 commit comments