{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/35986","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/35986/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/35986/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/35986/events","html_url":"https://github.com/ansible/ansible/issues/35986","id":296025296,"number":35986,"title":"Digital Ocean Tagging Error","user":{"login":"wolfthefallen","id":9035933,"avatar_url":"https://avatars2.githubusercontent.com/u/9035933?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfthefallen","html_url":"https://github.com/wolfthefallen","followers_url":"https://api.github.com/users/wolfthefallen/followers","following_url":"https://api.github.com/users/wolfthefallen/following{/other_user}","gists_url":"https://api.github.com/users/wolfthefallen/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfthefallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfthefallen/subscriptions","organizations_url":"https://api.github.com/users/wolfthefallen/orgs","repos_url":"https://api.github.com/users/wolfthefallen/repos","events_url":"https://api.github.com/users/wolfthefallen/events{/privacy}","received_events_url":"https://api.github.com/users/wolfthefallen/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":379680546,"url":"https://api.github.com/repos/ansible/ansible/labels/digital_ocean","name":"digital_ocean","color":"c5def5","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":54811101,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-09T21:59:08Z","updated_at":"2018-04-07T21:16:10Z","closed_at":"2018-04-07T21:16:10Z","author_association":"NONE","body":"\r\n##### ISSUE TYPE\r\n\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\ndigital_ocean_tag\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.4.3.0\r\npython 3.6.3\r\n```\r\n\r\n##### CONFIGURATION\r\nno changes\r\n\r\n##### OS / ENVIRONMENT\r\nn/a trying to tag a digital ocean droplet\r\n\r\n##### SUMMARY\r\nWhen trying to tag a digtial ocean droplet I get the following error message\r\n```\r\nfatal: [localhost]: FAILED! => {\"changed\": false, \"msg\": \"error tagging resource '111111111': your request is malformed, please check your syntax: json: cannot unmarshal number into Go struct field Resource.resource_id of type string\"}\r\n```\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used.\r\n-->\r\nCreate a new droplet and try to tag it using the `digital_ocean_tag` module\r\n\r\n```yaml\r\n  - name: add  tag\r\n    digital_ocean_tag:\r\n      api_token: \"{{ do_api_key }}\"\r\n      name: new-tag\r\n      state: present\r\n      resource_id: \"{{ new_droplet.droplet.id }}\"\r\n```\r\n\r\n##### EXPECTED RESULTS\r\nIt tags the droplet in digital ocean\r\n"}}
{"actor":{"display_login":"ansibot"}}