Search code examples
node.jsamazon-web-servicesamazon-elastic-beanstalk

EB CLI "eb create" ERROR: InvalidParameterValueError - Platform ARN is invalid


I'm trying to create an Elastic Beanstalk node.js environment via the EB CLI. I've ran eb init in my code repo, and this doesn't give me any issues.

Next, when I run eb create to create the environment, I receive the error ERROR: InvalidParameterValueError - Platform ARN is invalid: Not an IAM ARN: 64bit Amazon Linux 2018.03 v4.15.2 running Node.js.

I've searched for this error, it seems like I need to update the platform version, but I can't figure out how to do that.

I also downgraded my node version from v12.18.4 to v12.18.3 because the EB docs didn't say that v12.18.4 was supported.


Solution

  • You can just run:

    eb platform select
    

    to select new default platform. Nevertheless, your platform seems fine as it is current one as listed here. Thus there maybe something else causing this error. But still maybe worth changing or re-selecting the platform version.