{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/330","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/330/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/330/events","html_url":"https://github.com/terraform-providers/terraform-provider-vsphere/issues/330","id":283267345,"node_id":"MDU6SXNzdWUyODMyNjczNDU=","number":330,"title":"Square brackets in network name - not allowed, vsphere provider","user":{"login":"hashibot","id":26720499,"node_id":"MDQ6VXNlcjI2NzIwNDk5","avatar_url":"https://avatars1.githubusercontent.com/u/26720499?v=4","gravatar_id":"","url":"https://api.github.com/users/hashibot","html_url":"https://github.com/hashibot","followers_url":"https://api.github.com/users/hashibot/followers","following_url":"https://api.github.com/users/hashibot/following{/other_user}","gists_url":"https://api.github.com/users/hashibot/gists{/gist_id}","starred_url":"https://api.github.com/users/hashibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashibot/subscriptions","organizations_url":"https://api.github.com/users/hashibot/orgs","repos_url":"https://api.github.com/users/hashibot/repos","events_url":"https://api.github.com/users/hashibot/events{/privacy}","received_events_url":"https://api.github.com/users/hashibot/received_events","type":"User","site_admin":false},"labels":[{"id":620326258,"node_id":"MDU6TGFiZWw2MjAzMjYyNTg=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/labels/bug","name":"bug","color":"f7c6c7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-12-19T15:20:00Z","updated_at":"2018-11-28T14:42:22Z","closed_at":null,"author_association":"NONE","body":"_This issue was originally opened by @marekmrowca as hashicorp/terraform#16952. It was migrated here as a result of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._\r\n\r\n<hr>\r\n\r\nHi,\r\nI have a network name with square brackets, e.g. [100]MyNetwork, and it's not found by Terraform during apply. I tried to escape the brackets, include the name in apostrophes, directly define type as a string, use it as a list. Nothing helped. \r\nIs there a workaround for that?\r\nIs there a chance that possibility of including square brackets in a network name will be added in next version?\r\n\r\n```\r\nterraform -v\r\nTerraform v0.11.1\r\n+ provider.null v1.0.0\r\n+ provider.vsphere v0.4.2\r\n```\r\n```\r\nterraform apply\r\n...\r\n network_interface.#:                    \"\" => \"1\"\r\n  network_interface.0.adapter_type:       \"\" => \"vmxnet3\"\r\n  network_interface.0.ip_address:         \"\" => \"<computed>\"\r\n  network_interface.0.ipv4_address:       \"\" => \"<computed>\"\r\n  network_interface.0.ipv4_gateway:       \"\" => \"<computed>\"\r\n  network_interface.0.ipv4_prefix_length: \"\" => \"<computed>\"\r\n  network_interface.0.ipv6_address:       \"\" => \"<computed>\"\r\n  network_interface.0.ipv6_gateway:       \"\" => \"<computed>\"\r\n  network_interface.0.ipv6_prefix_length: \"\" => \"<computed>\"\r\n  network_interface.0.key:                \"\" => \"<computed>\"\r\n  network_interface.0.label:              \"\" => \"[100]MyNetwork\"\r\n  network_interface.0.mac_address:        \"\" => \"<computed>\"\r\n  network_interface.0.subnet_mask:        \"\" => \"<computed>\"\r\n...\r\n* vsphere_virtual_machine.chef-node[0]: 1 error(s) occurred:\r\n* vsphere_virtual_machine.chef-node.0: network '[100]MyNetwork' not found\r\n```\r\n\r\nCould you please help on this topic?\r\nBest regards,\r\nMarek"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/comments/442470403","html_url":"https://github.com/terraform-providers/terraform-provider-vsphere/issues/330#issuecomment-442470403","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/330","id":442470403,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ3MDQwMw==","user":{"login":"shadowlord017","id":20586244,"node_id":"MDQ6VXNlcjIwNTg2MjQ0","avatar_url":"https://avatars3.githubusercontent.com/u/20586244?v=4","gravatar_id":"","url":"https://api.github.com/users/shadowlord017","html_url":"https://github.com/shadowlord017","followers_url":"https://api.github.com/users/shadowlord017/followers","following_url":"https://api.github.com/users/shadowlord017/following{/other_user}","gists_url":"https://api.github.com/users/shadowlord017/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowlord017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowlord017/subscriptions","organizations_url":"https://api.github.com/users/shadowlord017/orgs","repos_url":"https://api.github.com/users/shadowlord017/repos","events_url":"https://api.github.com/users/shadowlord017/events{/privacy}","received_events_url":"https://api.github.com/users/shadowlord017/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T14:42:22Z","updated_at":"2018-11-28T14:42:22Z","author_association":"NONE","body":"Same thing - \"[PG]VLAN125\" - not found"}}
{"actor":{"display_login":"shadowlord017"}}