Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45819

ECS Task Role silently ignored

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When there is no AWS_CONTAINER_CREDENTIALS_RELATIVE_URI variable set to the container, aws cli and tools based on official SDKs will not pick up task role and continue using ec2 cluster instances role instead.

      For reference:

      https://github.com/aws/aws-sdk-ruby/issues/1309

      http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html

       

        Attachments

          Activity

          llibicpep Dee Kryvenko created issue -
          llibicpep Dee Kryvenko made changes -
          Field Original Value New Value
          Summary When ECS Task Role is set AWS_CONTAINER_CREDENTIALS_RELATIVE_URI env variable not populated to the container ECS Task Role silently ignored
          llibicpep Dee Kryvenko made changes -
          Description When there is no AWS_CONTAINER_CREDENTIALS_RELATIVE_URI variable, aws cli and tools based on official SDKs will not pick up task role and continue using ec2 cluster instances role instead.

          For reference:

          [https://github.com/aws/aws-sdk-ruby/issues/1309]

          [http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html]

           
          When there is no AWS_CONTAINER_CREDENTIALS_RELATIVE_URI variable set to the container, aws cli and tools based on official SDKs will not pick up task role and continue using ec2 cluster instances role instead.

          For reference:

          [https://github.com/aws/aws-sdk-ruby/issues/1309]

          [http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html]

           
          llibicpep Dee Kryvenko made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            roehrijn2 Jan Roehrich
            Reporter:
            llibicpep Dee Kryvenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: