{"action":"opened","issue":{"url":"https://api.github.com/repos/cvbarros/terraform-provider-teamcity/issues/36","repository_url":"https://api.github.com/repos/cvbarros/terraform-provider-teamcity","labels_url":"https://api.github.com/repos/cvbarros/terraform-provider-teamcity/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/cvbarros/terraform-provider-teamcity/issues/36/comments","events_url":"https://api.github.com/repos/cvbarros/terraform-provider-teamcity/issues/36/events","html_url":"https://github.com/cvbarros/terraform-provider-teamcity/issues/36","id":389371697,"node_id":"MDU6SXNzdWUzODkzNzE2OTc=","number":36,"title":"teamcity_artifact_dependency - No change detected when adding \"dependency_revision\"","user":{"login":"MattHodge","id":1966555,"node_id":"MDQ6VXNlcjE5NjY1NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1966555?v=4","gravatar_id":"","url":"https://api.github.com/users/MattHodge","html_url":"https://github.com/MattHodge","followers_url":"https://api.github.com/users/MattHodge/followers","following_url":"https://api.github.com/users/MattHodge/following{/other_user}","gists_url":"https://api.github.com/users/MattHodge/gists{/gist_id}","starred_url":"https://api.github.com/users/MattHodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattHodge/subscriptions","organizations_url":"https://api.github.com/users/MattHodge/orgs","repos_url":"https://api.github.com/users/MattHodge/repos","events_url":"https://api.github.com/users/MattHodge/events{/privacy}","received_events_url":"https://api.github.com/users/MattHodge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-10T16:07:43Z","updated_at":"2018-12-10T16:07:43Z","closed_at":null,"author_association":"NONE","body":"Take the following terraform:\r\n\r\n```hcl\r\nresource \"teamcity_artifact_dependency\" \"upload_dep_on_build\" {\r\n  build_config_id        = \"${teamcity_build_config.upload_artifact.id}\"\r\n  source_build_config_id = \"${teamcity_build_config.build_artifact.id}\"\r\n  path_rules = [\"*.zip=>.\"]\r\n}\r\n```\r\n\r\nRun a Terraform apply.\r\n\r\nMake this change:\r\n\r\n```hcl\r\nresource \"teamcity_artifact_dependency\" \"upload_dep_on_build\" {\r\n  build_config_id        = \"${teamcity_build_config.upload_artifact.id}\"\r\n  source_build_config_id = \"${teamcity_build_config.build_artifact.id}\"\r\n  path_rules = [\"*.zip=>.\"]\r\n  dependency_revision = \"lastSuccessful\" # Add this\r\n}\r\n```\r\n\r\nRunning a Terraform Plan doesn't notice any changes."}}
{"actor":{"display_login":"MattHodge"}}