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

          Hide
          llibicpep Dee Kryvenko added a comment - - edited

          I was wrong, it actually being populated by ecs-agent and just not shows up on the task in AWS console. It is available within. The issue I am facing is most likely related to ruby-sdk or kitchen-ec2 that is ignoring this variable and picking up cluster role instead.

          Show
          llibicpep Dee Kryvenko added a comment - - edited I was wrong, it actually being populated by ecs-agent and just not shows up on the task in AWS console. It is available within. The issue I am facing is most likely related to ruby-sdk or kitchen-ec2 that is ignoring this variable and picking up cluster role instead.

            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: