{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/833","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/833/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/833/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/833/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/833","id":235694967,"node_id":"MDU6SXNzdWUyMzU2OTQ5Njc=","number":833,"title":"Large aws_waf_ipset resources cannot be deleted","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":620316239,"node_id":"MDU6TGFiZWw2MjAzMTYyMzk=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":801971624,"node_id":"MDU6TGFiZWw4MDE5NzE2MjQ=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/waf","name":"service/waf","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/milestones/37","html_url":"https://github.com/terraform-providers/terraform-provider-aws/milestone/37","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/milestones/37/labels","id":3576807,"node_id":"MDk6TWlsZXN0b25lMzU3NjgwNw==","number":37,"title":"v1.33.0","description":"","creator":{"login":"bflad","id":189114,"node_id":"MDQ6VXNlcjE4OTExNA==","avatar_url":"https://avatars3.githubusercontent.com/u/189114?v=4","gravatar_id":"","url":"https://api.github.com/users/bflad","html_url":"https://github.com/bflad","followers_url":"https://api.github.com/users/bflad/followers","following_url":"https://api.github.com/users/bflad/following{/other_user}","gists_url":"https://api.github.com/users/bflad/gists{/gist_id}","starred_url":"https://api.github.com/users/bflad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bflad/subscriptions","organizations_url":"https://api.github.com/users/bflad/orgs","repos_url":"https://api.github.com/users/bflad/repos","events_url":"https://api.github.com/users/bflad/events{/privacy}","received_events_url":"https://api.github.com/users/bflad/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":22,"state":"open","created_at":"2018-08-16T17:38:10Z","updated_at":"2018-08-20T20:03:12Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-06-13T21:14:18Z","updated_at":"2018-08-20T20:03:33Z","closed_at":"2018-08-20T20:03:01Z","author_association":"NONE","body":"_This issue was originally opened by @longwave as hashicorp/terraform#15146. It was migrated here as part 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\n### Terraform Version\r\nTerraform v0.9.6\r\n\r\n### Affected Resource(s)\r\n- aws_waf_ipset\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nresource \"aws_waf_ipset\" \"ip1\" {\r\n  name = \"WAF-IP1\"\r\n}\r\n```\r\n\r\nin conjunction with the Lambda function from https://github.com/awslabs/aws-waf-sample/tree/master/waf-reputation-lists/lambda\r\n\r\n### Expected Behavior\r\nA very large IP set that is no longer required should be deleted.\r\n\r\n### Actual Behavior\r\nThe IP set is not deleted and the following error is reported:\r\n\r\n* aws_waf_ipset.ip1: Error updating IPSetDescriptors: Error Updating WAF IPSet: WAFLimitsExceededException: Operation would result in exceeding resource limits.\r\n\r\n### Steps to Reproduce\r\nWAF IP sets can now contain 10,000 records but the AWS API only allows 1,000 to be created, updated or deleted in a single call.\r\n\r\nThis particular WAF IP set was built as empty with Terraform and then filled with the sample AWS Lambda function from https://github.com/awslabs/aws-waf-sample/tree/master/waf-reputation-lists/lambda, modified to support the new AWS limits via the comments in https://github.com/awslabs/aws-waf-sample/issues/8. It was then no longer required so I removed the resource from the Terraform config and ran `terraform apply` which should have destroyed it, but I got the above error.\r\n\r\nThere is presumably a similar bug if you attempt to create an IP set with over 1,000 records directly in Terraform."},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/comments/414444810","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/833#issuecomment-414444810","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/833","id":414444810,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQ0NDgxMA==","user":{"login":"bflad","id":189114,"node_id":"MDQ6VXNlcjE4OTExNA==","avatar_url":"https://avatars3.githubusercontent.com/u/189114?v=4","gravatar_id":"","url":"https://api.github.com/users/bflad","html_url":"https://github.com/bflad","followers_url":"https://api.github.com/users/bflad/followers","following_url":"https://api.github.com/users/bflad/following{/other_user}","gists_url":"https://api.github.com/users/bflad/gists{/gist_id}","starred_url":"https://api.github.com/users/bflad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bflad/subscriptions","organizations_url":"https://api.github.com/users/bflad/orgs","repos_url":"https://api.github.com/users/bflad/repos","events_url":"https://api.github.com/users/bflad/events{/privacy}","received_events_url":"https://api.github.com/users/bflad/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T20:03:33Z","updated_at":"2018-08-20T20:03:33Z","author_association":"CONTRIBUTOR","body":"The fix for this has been merged into master and will release with version 1.33.0 of the AWS provider, likely later this week. 👍 "}}
{"actor":{"display_login":"bflad"}}