{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/73618853","id":73618853,"diff_hunk":"@@ -35,10 +35,15 @@ resource \"aws_subnet\" \"secondary\" {\n \n ## Argument Reference\n \n-There are no arguments for this data source.\n+The following arguments are supported:\n+\n+* `state` - (Optional) Allows to filter list of Availability Zones based on their\n+current state. Can be either `\"available\"`, `\"information\"`, `\"impaired\"` or\n+`\"unavailable\"`. By default the list includes a complete set of Availability Zones\n+to which the underlying AWS account has access, regardless of their state.\n \n ## Attributes Reference\n \n The following attributes are exported:\n \n-* `names` - A list of the availability zone names available to the account.\n+* `names` - A list of the Availability Zone names available to the account.","path":"website/source/docs/providers/aws/d/availability_zones.html.markdown","position":26,"original_position":26,"commit_id":"66632906336353dda8b5f17e88a2421677adfa32","original_commit_id":"66632906336353dda8b5f17e88a2421677adfa32","user":{"login":"kwilczynski","id":250723,"avatar_url":"https://avatars.githubusercontent.com/u/250723?v=3","gravatar_id":"","url":"https://api.github.com/users/kwilczynski","html_url":"https://github.com/kwilczynski","followers_url":"https://api.github.com/users/kwilczynski/followers","following_url":"https://api.github.com/users/kwilczynski/following{/other_user}","gists_url":"https://api.github.com/users/kwilczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/kwilczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwilczynski/subscriptions","organizations_url":"https://api.github.com/users/kwilczynski/orgs","repos_url":"https://api.github.com/users/kwilczynski/repos","events_url":"https://api.github.com/users/kwilczynski/events{/privacy}","received_events_url":"https://api.github.com/users/kwilczynski/received_events","type":"User","site_admin":false},"body":"Sorry for causing troubles!\r\n\r\nIn terms of consistency in documentation we have, it does vary:\r\n\r\n(not a very scientific comparison, though)\r\n\r\n```\r\nkrzysztof@apple ~/Development/Projects/Go/src/github.com/hashicorp/terraform (master %)$ ack --no-smart-case availability website/source/ -l | wc -l\r\n      45\r\nkrzysztof@apple ~/Development/Projects/Go/src/github.com/hashicorp/terraform (master %)$ ack --no-smart-case Availability website/source/ -l | wc -l\r\n      11\r\n```\r\n\r\nWould you like ma to revert this back?","created_at":"2016-08-04T23:11:54Z","updated_at":"2016-08-04T23:11:54Z","html_url":"https://github.com/hashicorp/terraform/pull/7965#discussion_r73618853","pull_request_url":"https://api.github.com/repos/hashicorp/terraform/pulls/7965","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/73618853"},"html":{"href":"https://github.com/hashicorp/terraform/pull/7965#discussion_r73618853"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/7965"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/7965","id":80007355,"html_url":"https://github.com/hashicorp/terraform/pull/7965","diff_url":"https://github.com/hashicorp/terraform/pull/7965.diff","patch_url":"https://github.com/hashicorp/terraform/pull/7965.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/7965","number":7965,"state":"open","locked":false,"title":"Add state filter to aws_availability_zones data source.","user":{"login":"kwilczynski","id":250723,"avatar_url":"https://avatars.githubusercontent.com/u/250723?v=3","gravatar_id":"","url":"https://api.github.com/users/kwilczynski","html_url":"https://github.com/kwilczynski","followers_url":"https://api.github.com/users/kwilczynski/followers","following_url":"https://api.github.com/users/kwilczynski/following{/other_user}","gists_url":"https://api.github.com/users/kwilczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/kwilczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwilczynski/subscriptions","organizations_url":"https://api.github.com/users/kwilczynski/orgs","repos_url":"https://api.github.com/users/kwilczynski/repos","events_url":"https://api.github.com/users/kwilczynski/events{/privacy}","received_events_url":"https://api.github.com/users/kwilczynski/received_events","type":"User","site_admin":false},"body":"This commit adds an ability to filter Availability Zones based on state.\r\n\r\nBe advised that this does not always works reliably for an older accounts which\r\nhave been created in the pre-VPC era of EC2. These accounts tends to retrieve\r\navailability zones that are not VPC-enabled, thus creation of a custom subnet\r\nwithin such Availability Zone would result in a failure.\r\n\r\nSigned-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>","created_at":"2016-08-04T01:56:47Z","updated_at":"2016-08-04T23:11:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b3259c972c1292d76b7424dec336f565825fdc8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/7965/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/7965/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/7965/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/66632906336353dda8b5f17e88a2421677adfa32","head":{"label":"kwilczynski:feature/add-status-filter-aws_availability_zones","ref":"feature/add-status-filter-aws_availability_zones","sha":"66632906336353dda8b5f17e88a2421677adfa32","user":{"login":"kwilczynski","id":250723,"avatar_url":"https://avatars.githubusercontent.com/u/250723?v=3","gravatar_id":"","url":"https://api.github.com/users/kwilczynski","html_url":"https://github.com/kwilczynski","followers_url":"https://api.github.com/users/kwilczynski/followers","following_url":"https://api.github.com/users/kwilczynski/following{/other_user}","gists_url":"https://api.github.com/users/kwilczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/kwilczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwilczynski/subscriptions","organizations_url":"https://api.github.com/users/kwilczynski/orgs","repos_url":"https://api.github.com/users/kwilczynski/repos","events_url":"https://api.github.com/users/kwilczynski/events{/privacy}","received_events_url":"https://api.github.com/users/kwilczynski/received_events","type":"User","site_admin":false},"repo":{"id":63421460,"name":"terraform","full_name":"kwilczynski/terraform","owner":{"login":"kwilczynski","id":250723,"avatar_url":"https://avatars.githubusercontent.com/u/250723?v=3","gravatar_id":"","url":"https://api.github.com/users/kwilczynski","html_url":"https://github.com/kwilczynski","followers_url":"https://api.github.com/users/kwilczynski/followers","following_url":"https://api.github.com/users/kwilczynski/following{/other_user}","gists_url":"https://api.github.com/users/kwilczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/kwilczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwilczynski/subscriptions","organizations_url":"https://api.github.com/users/kwilczynski/orgs","repos_url":"https://api.github.com/users/kwilczynski/repos","events_url":"https://api.github.com/users/kwilczynski/events{/privacy}","received_events_url":"https://api.github.com/users/kwilczynski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kwilczynski/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/kwilczynski/terraform","forks_url":"https://api.github.com/repos/kwilczynski/terraform/forks","keys_url":"https://api.github.com/repos/kwilczynski/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kwilczynski/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kwilczynski/terraform/teams","hooks_url":"https://api.github.com/repos/kwilczynski/terraform/hooks","issue_events_url":"https://api.github.com/repos/kwilczynski/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/kwilczynski/terraform/events","assignees_url":"https://api.github.com/repos/kwilczynski/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/kwilczynski/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/kwilczynski/terraform/tags","blobs_url":"https://api.github.com/repos/kwilczynski/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kwilczynski/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kwilczynski/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/kwilczynski/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kwilczynski/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/kwilczynski/terraform/languages","stargazers_url":"https://api.github.com/repos/kwilczynski/terraform/stargazers","contributors_url":"https://api.github.com/repos/kwilczynski/terraform/contributors","subscribers_url":"https://api.github.com/repos/kwilczynski/terraform/subscribers","subscription_url":"https://api.github.com/repos/kwilczynski/terraform/subscription","commits_url":"https://api.github.com/repos/kwilczynski/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/kwilczynski/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/kwilczynski/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/kwilczynski/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/kwilczynski/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/kwilczynski/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kwilczynski/terraform/merges","archive_url":"https://api.github.com/repos/kwilczynski/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kwilczynski/terraform/downloads","issues_url":"https://api.github.com/repos/kwilczynski/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/kwilczynski/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/kwilczynski/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/kwilczynski/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kwilczynski/terraform/labels{/name}","releases_url":"https://api.github.com/repos/kwilczynski/terraform/releases{/id}","deployments_url":"https://api.github.com/repos/kwilczynski/terraform/deployments","created_at":"2016-07-15T12:50:32Z","updated_at":"2016-07-15T12:50:40Z","pushed_at":"2016-08-04T22:28:58Z","git_url":"git://github.com/kwilczynski/terraform.git","ssh_url":"git@github.com:kwilczynski/terraform.git","clone_url":"https://github.com/kwilczynski/terraform.git","svn_url":"https://github.com/kwilczynski/terraform","homepage":"https://www.terraform.io/","size":51645,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"4b6eea8593fc9b763a6cb909d4fa76e69c3833d0","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17728164,"name":"terraform","full_name":"hashicorp/terraform","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform","forks_url":"https://api.github.com/repos/hashicorp/terraform/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/terraform/deployments","created_at":"2014-03-13T22:25:48Z","updated_at":"2016-08-04T20:52:09Z","pushed_at":"2016-08-04T22:36:32Z","git_url":"git://github.com/hashicorp/terraform.git","ssh_url":"git@github.com:hashicorp/terraform.git","clone_url":"https://github.com/hashicorp/terraform.git","svn_url":"https://github.com/hashicorp/terraform","homepage":"https://www.terraform.io/","size":101013,"stargazers_count":5383,"watchers_count":5383,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1690,"mirror_url":null,"open_issues_count":1468,"forks":1690,"open_issues":1468,"watchers":5383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/7965"},"html":{"href":"https://github.com/hashicorp/terraform/pull/7965"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/7965"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/7965/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/7965/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/7965/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/66632906336353dda8b5f17e88a2421677adfa32"}}}}
{"actor":{"display_login":"kwilczynski"}}