Skip to content

Commit 8902526

Browse files
kllinzysingholt
andauthored
twerk credential provider comment
Co-authored-by: Anuj Singh <[email protected]>
1 parent 5456145 commit 8902526

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ecs-agent/credentials/providers/instance_credentials_provider.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)