{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/15843","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/15843/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/15843/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/15843/events","html_url":"https://github.com/hashicorp/terraform/issues/15843","id":251013354,"node_id":"MDU6SXNzdWUyNTEwMTMzNTQ=","number":15843,"title":"Multiple list definitions merge, documentation says they overwrite","user":{"login":"Zordrak","id":151241,"node_id":"MDQ6VXNlcjE1MTI0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/151241?v=4","gravatar_id":"","url":"https://api.github.com/users/Zordrak","html_url":"https://github.com/Zordrak","followers_url":"https://api.github.com/users/Zordrak/followers","following_url":"https://api.github.com/users/Zordrak/following{/other_user}","gists_url":"https://api.github.com/users/Zordrak/gists{/gist_id}","starred_url":"https://api.github.com/users/Zordrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zordrak/subscriptions","organizations_url":"https://api.github.com/users/Zordrak/orgs","repos_url":"https://api.github.com/users/Zordrak/repos","events_url":"https://api.github.com/users/Zordrak/events{/privacy}","received_events_url":"https://api.github.com/users/Zordrak/received_events","type":"User","site_admin":false},"labels":[{"id":85946957,"node_id":"MDU6TGFiZWw4NTk0Njk1Nw==","url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":608979767,"node_id":"MDU6TGFiZWw2MDg5Nzk3Njc=","url":"https://api.github.com/repos/hashicorp/terraform/labels/config","name":"config","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-17T17:17:25Z","updated_at":"2018-10-27T02:07:01Z","closed_at":"2018-10-27T02:07:01Z","author_association":"NONE","body":"terraform 0.9.11\r\n\r\nThe documentation says:\r\n```\r\nVariable Merging\r\n\r\nWhen variables are conflicting, map values are merged and all other values are overridden. Map values are always merged.\r\n```\r\n\r\nBut having defined a list twice accidentally in tfvars, the result was a list with all the values present twice. The first definition of the list was concatenated with the second. The documentation says the second should overwrite the first."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/433582685","html_url":"https://github.com/hashicorp/terraform/issues/15843#issuecomment-433582685","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/15843","id":433582685,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzU4MjY4NQ==","user":{"login":"apparentlymart","id":20180,"node_id":"MDQ6VXNlcjIwMTgw","avatar_url":"https://avatars1.githubusercontent.com/u/20180?v=4","gravatar_id":"","url":"https://api.github.com/users/apparentlymart","html_url":"https://github.com/apparentlymart","followers_url":"https://api.github.com/users/apparentlymart/followers","following_url":"https://api.github.com/users/apparentlymart/following{/other_user}","gists_url":"https://api.github.com/users/apparentlymart/gists{/gist_id}","starred_url":"https://api.github.com/users/apparentlymart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apparentlymart/subscriptions","organizations_url":"https://api.github.com/users/apparentlymart/orgs","repos_url":"https://api.github.com/users/apparentlymart/repos","events_url":"https://api.github.com/users/apparentlymart/events{/privacy}","received_events_url":"https://api.github.com/users/apparentlymart/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T02:07:01Z","updated_at":"2018-10-27T02:07:01Z","author_association":"CONTRIBUTOR","body":"Hi @Zordrak. Sorry for the confusing and inconsistent behavior, and for the slow response.\r\n\r\nIn v0.12 the behavior has been simplified so that variables of all types will now override. Therefore the behavior matches what used to be documented for everything except maps, and the behavior for maps has changed to match.\r\n\r\nThis fix is already in `master` along with a documentation update that no longer mentions the special map merging behavior. Both the new behavior and the docs will be released as part of the v0.12.0 release, and are already included in the special alpha1 build.\r\n\r\nBecause this is already addressed, I'm going to close this out. Thanks for reporting this, and sorry again for taking so long to respond.\r\n"}}
{"actor":{"display_login":"apparentlymart"}}