{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1349","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1349/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1349/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1349/events","html_url":"https://github.com/hashicorp/terraform/issues/1349","id":65663082,"number":1349,"title":"Openstack provider - networking_subnet generating wrong plans","user":{"login":"gisnalbert","id":5765436,"avatar_url":"https://avatars.githubusercontent.com/u/5765436?v=3","gravatar_id":"","url":"https://api.github.com/users/gisnalbert","html_url":"https://github.com/gisnalbert","followers_url":"https://api.github.com/users/gisnalbert/followers","following_url":"https://api.github.com/users/gisnalbert/following{/other_user}","gists_url":"https://api.github.com/users/gisnalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/gisnalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisnalbert/subscriptions","organizations_url":"https://api.github.com/users/gisnalbert/orgs","repos_url":"https://api.github.com/users/gisnalbert/repos","events_url":"https://api.github.com/users/gisnalbert/events{/privacy}","received_events_url":"https://api.github.com/users/gisnalbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T11:25:33Z","updated_at":"2015-04-01T11:25:33Z","closed_at":null,"body":"Hi,\r\n\r\nI am using the OpenStack provider since yesterday. Before the merge of PR#924 I was able to create the infrastructure and make changes on it just right.\r\nThis morning I changed to the current master (thanks for the merge of the PR) and it seems that the subnetwork plan is being generated with an error.\r\n\r\nI have created a very simple example that demonstrate this behaviour:\r\n\r\n1 - Create a network and subnetwork\r\n2 - Apply the configuration\r\n3 - Plan -- it will show that the subnetwork needs to be created again\r\n4 - Apply once again -- It will fail saying that \"openstack_networking_subnet_v2.sample-webapp_sub-network: diffs didn't match during apply. This is a bug with the resource provider, please report a bug.\"\r\n\r\nBelow is a simple example of the network/subnetwork that generates this error:\r\n\r\n```\r\nresource \"openstack_networking_network_v2\" \"sample-webapp_network\" {\r\n    region = \"\"\r\n   name = \"sample-webapp_network\"\r\n    admin_state_up = \"true\"\r\n    shared = \"false\"\r\n}\r\n\r\nresource \"openstack_networking_subnet_v2\" \"sample-webapp_sub-network\" {\r\n    name = \"sample-webapp_sub-network\"\r\n    region = \"\"\r\n    network_id = \"${openstack_networking_network_v2.sample-webapp_network.id}\"\r\n    cidr = \"10.10.110.00/24\"\r\n    gateway_ip = \"10.10.110.254\"\r\n    enable_dhcp = \"true\"\r\n    ip_version = 4\r\n}\r\n```\r\n\r\nThanks."}}