{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/816","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/816/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/816/comments","events_url":"https://api.github.com/repos/convox/rack/issues/816/events","html_url":"https://github.com/convox/rack/issues/816","id":162571894,"number":816,"title":"Too many process types causes a CloudFormation Parameter Limit Error","user":{"login":"nzoschke","id":147410,"avatar_url":"https://avatars.githubusercontent.com/u/147410?v=3","gravatar_id":"","url":"https://api.github.com/users/nzoschke","html_url":"https://github.com/nzoschke","followers_url":"https://api.github.com/users/nzoschke/followers","following_url":"https://api.github.com/users/nzoschke/following{/other_user}","gists_url":"https://api.github.com/users/nzoschke/gists{/gist_id}","starred_url":"https://api.github.com/users/nzoschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzoschke/subscriptions","organizations_url":"https://api.github.com/users/nzoschke/orgs","repos_url":"https://api.github.com/users/nzoschke/repos","events_url":"https://api.github.com/users/nzoschke/events{/privacy}","received_events_url":"https://api.github.com/users/nzoschke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T23:36:54Z","updated_at":"2016-06-28T01:38:37Z","closed_at":null,"body":"If you have a docker-compose file with:\r\n\r\n* More than 16 process types with no port mappings\r\n* More than 5 process types with 1 port mapping\r\n\r\nYou can hit a CloudFormation error on deploy\r\n\r\n\r\n```yaml\r\nweb: &web\r\n  build: .\r\n  command: bin/web\r\n  ports:\r\n    - 80:80\r\n    - 443:80\r\nworker: &worker\r\n  <<: *web\r\n  command: bundle exec rake jobs:work\r\n  ports: []\r\nw2:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w2\r\nw3:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w3\r\nw4:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w4\r\nw5:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w5\r\nw6:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w6\r\nw7:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w7\r\nw8:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w8\r\nw9:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w9\r\nw10:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w10\r\nw11:\r\n  <<: *worker\r\n  command: bundle exec rake jobs:w11\r\n```\r\n\r\n```bash\r\n$ convox deploy\r\n...\r\nPromoting RTMUEOBWWZA... ERROR: Template format error: Parameter count 61 is greater than max allowed 60`\r\n```"},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/228925163","html_url":"https://github.com/convox/rack/issues/816#issuecomment-228925163","issue_url":"https://api.github.com/repos/convox/rack/issues/816","id":228925163,"user":{"login":"nzoschke","id":147410,"avatar_url":"https://avatars.githubusercontent.com/u/147410?v=3","gravatar_id":"","url":"https://api.github.com/users/nzoschke","html_url":"https://github.com/nzoschke","followers_url":"https://api.github.com/users/nzoschke/followers","following_url":"https://api.github.com/users/nzoschke/following{/other_user}","gists_url":"https://api.github.com/users/nzoschke/gists{/gist_id}","starred_url":"https://api.github.com/users/nzoschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzoschke/subscriptions","organizations_url":"https://api.github.com/users/nzoschke/orgs","repos_url":"https://api.github.com/users/nzoschke/repos","events_url":"https://api.github.com/users/nzoschke/events{/privacy}","received_events_url":"https://api.github.com/users/nzoschke/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T01:38:37Z","updated_at":"2016-06-28T01:38:37Z","body":"Yeah, both formation and port balancer settings could follow the same pattern. On the app that is hitting the problem, there is 1 web process and 15 worker types so combining Count,Cpu,Memory is more impactful.\r\n\r\nI don't like losing the semantic meaning either. Does a comment help? https://github.com/convox/rack/pull/817/files#diff-8ae06540bf7821d58dea9cf26314a554R186\r\n\r\nThe biggest set back I see is that `convox apps params` is even harder to use to change a single value.\r\n\r\nMappings look interesting but I believe those are for static values, not parameters. So that'd start leading us down reading/writing directly from the template body. Not the worst but more challenging for sure."}}
{"actor":{"display_login":"nzoschke"}}