Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Error registering: NoCredentialProviders: no valid providers in chain ECS agent error

It was a problem with trust relationships in the role as the role should include ec2. Unfortunately the error message was not all that helpful.

Example of trust relationship:

{
  "Version": "2008-10-17",
  "Statement": [
    {
      "Action": "sts:AssumeRole",
      "Principal": {
        "Service": ["ecs.amazonaws.com", "ec2.amazonaws.com"]
      },
      "Effect": "Allow"
    }
  ]
}

Tags:

Amazon Web Services

Amazon Ec2

Ec2 Ami

Amazon Ecs

Terraform

Related

Is this the correct way to delete an item using redux? Laravel 5.2 - Use a String as a Custom Primary Key for Eloquent Table becomes 0 React won't load local images Visual Studio 2015 download getting stuck at applying Microsoft ASP.net Calling named routes in laravel tests relative file path to fonts in css file Text extends outside button HTML Change toolbar back arrow color Python - Flask-SocketIO send message from thread: not always working Can't access AWS CodeCommit with SSH What does "Stage Skipped" mean in Apache Spark web UI? Alternative to ssize_t on POSIX-unconformant systems

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy