{"action":"closed","issue":{"url":"https://api.github.com/repos/AviatrixSystems/terraform-provider-aviatrix/issues/7","repository_url":"https://api.github.com/repos/AviatrixSystems/terraform-provider-aviatrix","labels_url":"https://api.github.com/repos/AviatrixSystems/terraform-provider-aviatrix/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/AviatrixSystems/terraform-provider-aviatrix/issues/7/comments","events_url":"https://api.github.com/repos/AviatrixSystems/terraform-provider-aviatrix/issues/7/events","html_url":"https://github.com/AviatrixSystems/terraform-provider-aviatrix/issues/7","id":293341568,"number":7,"title":"Please provide the public_ip address as a terraform output for the aviatrix_gateway resource","user":{"login":"davidschou","id":2050049,"avatar_url":"https://avatars2.githubusercontent.com/u/2050049?v=4","gravatar_id":"","url":"https://api.github.com/users/davidschou","html_url":"https://github.com/davidschou","followers_url":"https://api.github.com/users/davidschou/followers","following_url":"https://api.github.com/users/davidschou/following{/other_user}","gists_url":"https://api.github.com/users/davidschou/gists{/gist_id}","starred_url":"https://api.github.com/users/davidschou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidschou/subscriptions","organizations_url":"https://api.github.com/users/davidschou/orgs","repos_url":"https://api.github.com/users/davidschou/repos","events_url":"https://api.github.com/users/davidschou/events{/privacy}","received_events_url":"https://api.github.com/users/davidschou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-31T22:52:53Z","updated_at":"2018-02-01T23:54:23Z","closed_at":"2018-02-01T23:54:23Z","author_association":"NONE","body":"Can you please add the public_ip of a gateway as an output so it can be consumed?  \r\n\r\n```\r\nresource \"aviatrix_gateway\" \"test_gw_us_west_1\" {\r\n  cloud_type   = 1\r\n...\r\n...\r\n...\r\n}\r\n```\r\n\r\nI'd like to reference it like:\r\n```\r\n${aviatrix_gateway.test_gw_us_west_1.public_ip}\r\n```\r\n\r\nThe usage is if I have a Controller that is **not** open to 0.0.0.0/0.  So when I create a new Gateway, I'd like to add it to the ingress to the Controller SG.  "}}
{"actor":{"display_login":"rakesh568"}}