{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/211","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/211/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/211/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/211/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/211","id":235633396,"node_id":"MDU6SXNzdWUyMzU2MzMzOTY=","number":211,"title":"Unable to modify `aws_db_security_group`","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":801370439,"node_id":"MDU6TGFiZWw4MDEzNzA0Mzk=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/rds","name":"service/rds","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T17:43:35Z","updated_at":"2018-06-22T01:55:48Z","closed_at":null,"author_association":"NONE","body":"_This issue was originally opened by @joshuaspence as hashicorp/terraform#7932. 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\nWe just upgraded to Terraform 0.7 and `terraform apply` is complaining about our `aws_db_security_group`. We haven't made any changes to the resource but `terraform plan` shows the following changes after upgrading to Terraform 0.7:\n\n```\nPath: terraform.tfplan\n\n~ aws_db_security_group.REDACTED\n    ingress.2355202593.cidr:                    \"\" => \"\"\n    ingress.2355202593.security_group_id:       \"\" => \"<computed>\"\n    ingress.2355202593.security_group_name:     \"\" => \"REDACTED\"\n    ingress.2355202593.security_group_owner_id: \"\" => \"REDACTED\"\n    ingress.68459987.cidr:                      \"\" => \"\"\n    ingress.731823242.cidr:                     \"\" => \"\"\n    ingress.731823242.security_group_id:        \"\" => \"<computed>\"\n    ingress.731823242.security_group_name:      \"\" => \"REDACTED\"\n    ingress.731823242.security_group_owner_id:  \"\" => \"REDACTED\"\n    ingress.73204544.cidr:                      \"\" => \"\"\n\n\nPlan: 0 to add, 1 to change, 0 to destroy.\n```\n\nRunning with this `terraform apply`, however, produces the following error:\n\n```\naws_db_security_group.REDACTED: Modifying...\n  ingress.2355202593.cidr:                    \"\" => \"\"\n  ingress.2355202593.security_group_id:       \"\" => \"<computed>\"\n  ingress.2355202593.security_group_name:     \"\" => \"REDACTED\"\n  ingress.2355202593.security_group_owner_id: \"\" => \"REDACTED\"\n  ingress.68459987.cidr:                      \"\" => \"\"\n  ingress.731823242.cidr:                     \"\" => \"\"\n  ingress.731823242.security_group_id:        \"\" => \"<computed>\"\n  ingress.731823242.security_group_name:      \"\" => \"REDACTED\"\n  ingress.731823242.security_group_owner_id:  \"\" => \"REDACTED\"\n  ingress.73204544.cidr:                      \"\" => \"\"\nError applying plan:\n\n1 error(s) occurred:\n\n* aws_db_security_group.REDACTED: Error revoking security group ingress: InvalidParameterCombination: Please see the documentation for authorizing DBSecurityGroup ingress. For non-VPC, use EC2SecurityGroupOwner and either EC2SecurityGroupId or EC2SecurityGroupName. To authorize only the source address of this request (and no other address), pass REDACTED/32 as the CIDRIP parameter.\n    status code: 400, request id: REDACTED\n\nTerraform does not automatically rollback in the face of errors.\nInstead, your Terraform state file has been partially updated with\nany resources that successfully completed. Please address the error\nabove and apply again to incrementally change your infrastructure.\n```\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/comments/399296630","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/211#issuecomment-399296630","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/211","id":399296630,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTI5NjYzMA==","user":{"login":"avengers009","id":36523924,"node_id":"MDQ6VXNlcjM2NTIzOTI0","avatar_url":"https://avatars2.githubusercontent.com/u/36523924?v=4","gravatar_id":"","url":"https://api.github.com/users/avengers009","html_url":"https://github.com/avengers009","followers_url":"https://api.github.com/users/avengers009/followers","following_url":"https://api.github.com/users/avengers009/following{/other_user}","gists_url":"https://api.github.com/users/avengers009/gists{/gist_id}","starred_url":"https://api.github.com/users/avengers009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avengers009/subscriptions","organizations_url":"https://api.github.com/users/avengers009/orgs","repos_url":"https://api.github.com/users/avengers009/repos","events_url":"https://api.github.com/users/avengers009/events{/privacy}","received_events_url":"https://api.github.com/users/avengers009/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T01:55:48Z","updated_at":"2018-06-22T01:55:48Z","author_association":"NONE","body":"looks like invalid parameters. can be digged more, if we can see the code."}}
{"actor":{"display_login":"avengers009"}}