{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/4862","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/4862/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/4862/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/4862/events","html_url":"https://github.com/hashicorp/terraform/issues/4862","id":129219868,"number":4862,"title":"dyn_record creation returns \"404 Not Found\"","user":{"login":"anero","id":134911,"avatar_url":"https://avatars.githubusercontent.com/u/134911?v=3","gravatar_id":"","url":"https://api.github.com/users/anero","html_url":"https://github.com/anero","followers_url":"https://api.github.com/users/anero/followers","following_url":"https://api.github.com/users/anero/following{/other_user}","gists_url":"https://api.github.com/users/anero/gists{/gist_id}","starred_url":"https://api.github.com/users/anero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anero/subscriptions","organizations_url":"https://api.github.com/users/anero/orgs","repos_url":"https://api.github.com/users/anero/repos","events_url":"https://api.github.com/users/anero/events{/privacy}","received_events_url":"https://api.github.com/users/anero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-27T17:51:25Z","updated_at":"2016-02-19T18:28:27Z","closed_at":null,"body":"When attempting to create a DNS A record on a non-root zone we get a _dyn_record.sentry: Failed to create Dyn record: Bad response, got \"404 Not Found\"_\r\n\r\nOur template file looks like this:\r\n\r\n```\r\nprovider \"dyn\" {\r\n    customer_name = \"${var.dyn_customer_name}\"\r\n    username = \"${var.dyn_username}\"\r\n    password = \"${var.dyn_password}\"\r\n}\r\n\r\n...\r\n\r\nresource \"dyn_record\" \"sentry\" {\r\n    zone = \"whatever.example.com\"\r\n    name = \"server\"\r\n    value = \"${aws_instance.server.public_ip}\"\r\n    type = \"A\"\r\n    ttl = 600\r\n}\r\n```\r\n\r\nWe've verified using Dynect's ruby SDK that the credentials set on the provider work on the REST API."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/186350794","html_url":"https://github.com/hashicorp/terraform/issues/4862#issuecomment-186350794","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/4862","id":186350794,"user":{"login":"kevinlondon","id":1216869,"avatar_url":"https://avatars.githubusercontent.com/u/1216869?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlondon","html_url":"https://github.com/kevinlondon","followers_url":"https://api.github.com/users/kevinlondon/followers","following_url":"https://api.github.com/users/kevinlondon/following{/other_user}","gists_url":"https://api.github.com/users/kevinlondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlondon/subscriptions","organizations_url":"https://api.github.com/users/kevinlondon/orgs","repos_url":"https://api.github.com/users/kevinlondon/repos","events_url":"https://api.github.com/users/kevinlondon/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlondon/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T18:28:27Z","updated_at":"2016-02-19T18:28:27Z","body":"One unfortunate side-effect of this is that you can't limit a user to a certain zone. E.g. if you create a user that can only modify `whatever.example.com` and subnodes, they'll get a 400 if they try to use the workaround I suggested. "}}