I'm banging my head against a wall trying to figure out the source of the following error I get when trying to deploy this Dockerrun file to EB:
Error: parse Dockerrun.aws.json file failed with error json: invalid use of ,string struct tag, trying to unmarshal unquoted value into int
Here is the file in question:
{
"AWSEBDockerrunVersion": "1",
"Authentication": {
"Bucket": "mybucket",
"Key": "myconfig.json"
},
"Image": {
"Name": "1234567890.dkr.ecr.us-east-2.amazonaws.com/myimage:tag",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "3001",
"HostPort": "80"
}
]
}
I've read over the documentation here: https://docs.amazonaws.cn/en_us/elasticbeanstalk/latest/dg/single-container-docker-configuration.html
I can't seem to find any issues with the file. I know that AWS has validators for CloudFormation templates, does something similar exist for Dockerrun files? How would one go about troubleshooting this error?