Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS_INSTANCE_ATTRIBUTES documentation is incorrect #727

Closed
joshgarnett opened this issue Mar 10, 2017 · 2 comments
Closed

ECS_INSTANCE_ATTRIBUTES documentation is incorrect #727

joshgarnett opened this issue Mar 10, 2017 · 2 comments

Comments

@joshgarnett
Copy link

ECS_INSTANCE_ATTRIBUTES need to specified as a json object not a json array of objects. The following fails with the error: "Invalid format for ECS_INSTANCE_ATTRIBUTES. Expected a json hash"

ECS_INSTANCE_ATTRIBUTES=[{"environment":"dev"}, {"type":"web"}]

The correct format is:

ECS_INSTANCE_ATTRIBUTES={"environment":"dev", "type":"web"}
@joshgarnett
Copy link
Author

This is wrong in the README.md not at http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html

@petderek
Copy link
Contributor

Hi @joshgarnett

Thanks for reaching out to us. We have fixed this in the in the dev branch, and merging to master is pending this PR. Sorry for any confusion this may have caused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants