{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/7809","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/7809/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/7809/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/7809/events","html_url":"https://github.com/hashicorp/terraform/issues/7809","id":167610266,"number":7809,"title":"provider/aws: db event subscription re-created when changing source_ids","user":{"login":"johanneswuerbach","id":864578,"avatar_url":"https://avatars.githubusercontent.com/u/864578?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneswuerbach","html_url":"https://github.com/johanneswuerbach","followers_url":"https://api.github.com/users/johanneswuerbach/followers","following_url":"https://api.github.com/users/johanneswuerbach/following{/other_user}","gists_url":"https://api.github.com/users/johanneswuerbach/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneswuerbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneswuerbach/subscriptions","organizations_url":"https://api.github.com/users/johanneswuerbach/orgs","repos_url":"https://api.github.com/users/johanneswuerbach/repos","events_url":"https://api.github.com/users/johanneswuerbach/events{/privacy}","received_events_url":"https://api.github.com/users/johanneswuerbach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T13:42:52Z","updated_at":"2016-08-16T19:51:38Z","closed_at":"2016-08-16T19:51:38Z","body":"Hi there,\r\n\r\nupdating the `source_ids` property of an `aws_db_event_subscription` resource causes the resource to be recreated (`forces new resource`).\r\n\r\n@radeksimko already pointed out in the initial implementation, that this is actually not required as AWS allows to update the subscription source ids via http://docs.aws.amazon.com/cli/latest/reference/rds/add-source-identifier-to-subscription.html\r\nand http://docs.aws.amazon.com/cli/latest/reference/rds/remove-source-identifier-from-subscription.html\r\nhttps://github.com/hashicorp/terraform/pull/6367#discussion_r61685389\r\n\r\n### Terraform Version\r\n`v0.6.16`\r\n\r\n### Affected Resource(s)\r\n- aws_db_event_subscription\r\n\r\n### Expected Behavior\r\nThe `aws_db_event_subscription` should be updated in-place.\r\n\r\n### Actual Behavior\r\nThe `aws_db_event_subscription` is recreated.\r\n\r\n### Steps to Reproduce\r\n1. Create an `aws_db_event_subscription` with a set of source_ids\r\n2. `terraform apply`\r\n3. Add an additional source_id to the existing resource\r\n4. `terraform plan` lists the change as `forces new resource`\r\n5. `terraform apply` recreates the resource.\r\n\r\n### References\r\n- https://github.com/hashicorp/terraform/pull/6367 The initial implementation of `aws_db_event_subscription`\r\n"}}
{"actor":{"display_login":"stack72"}}