payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/20530","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/20530/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/20530/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/20530/events","html_url":"https://github.com/hashicorp/terraform/issues/20530","id":416002296,"node_id":"MDU6SXNzdWU0MTYwMDIyOTY=","number":20530,"title":"Terraform does not complain about missing origin in AWS security group","user":{"login":"ay0o","id":23629729,"node_id":"MDQ6VXNlcjIzNjI5NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/23629729?v=4","gravatar_id":"","url":"https://api.github.com/users/ay0o","html_url":"https://github.com/ay0o","followers_url":"https://api.github.com/users/ay0o/followers","following_url":"https://api.github.com/users/ay0o/following{/other_user}","gists_url":"https://api.github.com/users/ay0o/gists{/gist_id}","starred_url":"https://api.github.com/users/ay0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ay0o/subscriptions","organizations_url":"https://api.github.com/users/ay0o/orgs","repos_url":"https://api.github.com/users/ay0o/repos","events_url":"https://api.github.com/users/ay0o/events{/privacy}","received_events_url":"https://api.github.com/users/ay0o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-01T08:57:06Z","updated_at":"2019-03-01T08:57:06Z","closed_at":null,"author_association":"NONE","body":"### Terraform Version\r\n```\r\n0.11.11\r\n```\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nresource \"aws_security_group\" \"foo\" {\r\n  name = \"FOO\"\r\n\r\n  vpc_id      = \"${var.vpc_id}\"\r\n  description = \"FOO SG\"\r\n\r\n  ingress {\r\n    from_port   = 1234\r\n    to_port     = 1234\r\n    protocol    = \"tcp\"\r\n    description = \"Foo\"\r\n  }\r\n```\r\n\r\n### Expected Behavior\r\nWhen either `cidr_blocks` or `self = true` is missing, Terraform should fail, letting the user know about the missing parameter.\r\n\r\nFor example, if you try to add a port to a security group with filling an IP or SG-ID using the AWS Console, you'd get the following error: `The source needs to be a CIDR block or a Security Group ID.`\r\n\r\n### Actual Behavior\r\n`terraform plan` says it will add the rules to the SG, and `terraform apply` finishes without error, but the rules are not added to the security group.\r\n\r\n### Steps to Reproduce\r\nAdd an `ingress` rule without specifying `cidr_blocks` or `self = true`.\r\n"}}
other: {"actor":{"display_login":"ay0o"}}