{"action":"opened","issue":{"url":"https://api.github.com/repos/pivotal-cf/om/issues/130","repository_url":"https://api.github.com/repos/pivotal-cf/om","labels_url":"https://api.github.com/repos/pivotal-cf/om/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/pivotal-cf/om/issues/130/comments","events_url":"https://api.github.com/repos/pivotal-cf/om/issues/130/events","html_url":"https://github.com/pivotal-cf/om/issues/130","id":293654251,"number":130,"title":"configure-product properties before networking causes failure","user":{"login":"aegershman","id":5619476,"avatar_url":"https://avatars1.githubusercontent.com/u/5619476?v=4","gravatar_id":"","url":"https://api.github.com/users/aegershman","html_url":"https://github.com/aegershman","followers_url":"https://api.github.com/users/aegershman/followers","following_url":"https://api.github.com/users/aegershman/following{/other_user}","gists_url":"https://api.github.com/users/aegershman/gists{/gist_id}","starred_url":"https://api.github.com/users/aegershman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aegershman/subscriptions","organizations_url":"https://api.github.com/users/aegershman/orgs","repos_url":"https://api.github.com/users/aegershman/repos","events_url":"https://api.github.com/users/aegershman/events{/privacy}","received_events_url":"https://api.github.com/users/aegershman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T19:28:23Z","updated_at":"2018-02-01T19:28:23Z","closed_at":null,"author_association":"NONE","body":"If you're configuring a product-- in my case, a PCF tile to opsman-- before the `networks_and_azs` has been configured, it's possible for the `properties` step to fail because the existence of certain properties keys could be dependent on the `networks_and_azs` block being configured beforehand.\r\n\r\nI believe the problem is here: https://github.com/pivotal-cf/om/blob/master/commands/configure_product.go#L75-L87\r\n\r\nThis could be mitigated by either configuring the products' `networks_and_azs` as a separate `./om` call from configuring the products' `properties`, or by putting the configuration of the `properties` block **after** configuring `networks_and_azs` and `resources`."}}
{"actor":{"display_login":"aegershman"}}