{"action":"opened","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-kubernetes/issues/65","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-kubernetes","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-kubernetes/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-kubernetes/issues/65/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-kubernetes/issues/65/events","html_url":"https://github.com/terraform-providers/terraform-provider-kubernetes/issues/65","id":254426769,"number":65,"title":"Unable to use results from data provider Service","user":{"login":"shadycuz","id":17090999,"avatar_url":"https://avatars1.githubusercontent.com/u/17090999?v=4","gravatar_id":"","url":"https://api.github.com/users/shadycuz","html_url":"https://github.com/shadycuz","followers_url":"https://api.github.com/users/shadycuz/followers","following_url":"https://api.github.com/users/shadycuz/following{/other_user}","gists_url":"https://api.github.com/users/shadycuz/gists{/gist_id}","starred_url":"https://api.github.com/users/shadycuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadycuz/subscriptions","organizations_url":"https://api.github.com/users/shadycuz/orgs","repos_url":"https://api.github.com/users/shadycuz/repos","events_url":"https://api.github.com/users/shadycuz/events{/privacy}","received_events_url":"https://api.github.com/users/shadycuz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-31T18:27:39Z","updated_at":"2017-08-31T18:27:39Z","closed_at":null,"author_association":"NONE","body":"### Terraform Version\r\nTerraform v0.10.3\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- data Kubernetes service\r\n\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\ndata \"kubernetes_service\" \"nginx\" {\r\n  metadata {\r\n    name = \"etc-nginx\"\r\n  }\r\n```\r\n\r\n### Expected Behavior\r\nI should be able to use the hostname to create route53 alias record.\r\n\r\n### Actual Behavior\r\n```\r\n> data.kubernetes_service.nginx.load_balancer_ingress\r\n[\r\n  {    hostname = a737c2d028e4811e7ad40021be1ee28a-1003536863.us-west-2.elb.amazonaws.com  ip = }\r\n]\r\n> data.kubernetes_service.nginx.load_balancer_ingress[0]\r\n{\r\n  hostname = a737c2d028e4811e7ad40021be1ee28a-1003536863.us-west-2.elb.amazonaws.com  ip = }\r\n> data.kubernetes_service.nginx.load_balancer_ingress[0]{hostname}\r\nparse error at 1:57: expected \"}\" but found invalid sequence \"{\"\r\n> data.kubernetes_service.nginx.load_balancer_ingress[0][\"hostname\"]\r\nparse error at 1:57: expected \"}\" but found \"[\"\r\n> data.kubernetes_service.nginx.load_balancer_ingress[0].hostname\r\nparse error at 1:57: expected \"}\" but found \".\"\r\n```\r\n\r\n"}}
{"actor":{"display_login":"shadycuz"}}