{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/3362","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/3362/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/3362/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/3362/events","html_url":"https://github.com/hashicorp/terraform/issues/3362","id":109001067,"number":3362,"title":"No attribute `address` for `google_compute_address`","user":{"login":"timfallmk","id":5316117,"avatar_url":"https://avatars.githubusercontent.com/u/5316117?v=3","gravatar_id":"","url":"https://api.github.com/users/timfallmk","html_url":"https://github.com/timfallmk","followers_url":"https://api.github.com/users/timfallmk/followers","following_url":"https://api.github.com/users/timfallmk/following{/other_user}","gists_url":"https://api.github.com/users/timfallmk/gists{/gist_id}","starred_url":"https://api.github.com/users/timfallmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfallmk/subscriptions","organizations_url":"https://api.github.com/users/timfallmk/orgs","repos_url":"https://api.github.com/users/timfallmk/repos","events_url":"https://api.github.com/users/timfallmk/events{/privacy}","received_events_url":"https://api.github.com/users/timfallmk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T02:15:48Z","updated_at":"2015-09-30T02:15:48Z","closed_at":null,"body":"I'm running into a strange error with `google_compute_address` when trying to export an attribute:\r\n\r\nMy config looks something like:\r\n```json\r\nresource \"google_compute_address\" \"client-address\" {\r\n  name = \"nomad-address-${var.zone}-${var.count}\"\r\n  count         = \"${var.count}\"\r\n}\r\n\r\nresource \"google_compute_instance\" \"client\" {\r\n  name          = \"nomad-client-${count.index}\"\r\n  count         = \"${var.count}\"\r\n  zone          = \"${var.zone}\"\r\n  disk {\r\n    image       = \"${var.image}\"\r\n    size        = \"${var.size}\"\r\n  }\r\n  network_interface {\r\n    network     = \"nomad\"\r\n    access_config = {\r\n      nat_ip = \"${google_compute_address.client-address.address}\"\r\n    }\r\n  }\r\n  machine_type  = \"n1-standard-2\"\r\n  tags          = [\"nomad\"]\r\n```\r\nHowever when, I put it into terraform, I get multiple:\r\n```\r\n* Resource 'google_compute_address.server-address' does not have attribute 'address' for variable 'google_compute_address.server-address.address'\r\n```\r\n\r\nIt seems like I'm not able to reference the exportable attribute for this resource."}}