{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1729","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1729/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1729/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1729/events","html_url":"https://github.com/hashicorp/terraform/issues/1729","id":71884482,"number":1729,"title":"Security groups for allow all and all ports keeps reloading","user":{"login":"mzupan","id":205373,"avatar_url":"https://avatars.githubusercontent.com/u/205373?v=3","gravatar_id":"","url":"https://api.github.com/users/mzupan","html_url":"https://github.com/mzupan","followers_url":"https://api.github.com/users/mzupan/followers","following_url":"https://api.github.com/users/mzupan/following{/other_user}","gists_url":"https://api.github.com/users/mzupan/gists{/gist_id}","starred_url":"https://api.github.com/users/mzupan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzupan/subscriptions","organizations_url":"https://api.github.com/users/mzupan/orgs","repos_url":"https://api.github.com/users/mzupan/repos","events_url":"https://api.github.com/users/mzupan/events{/privacy}","received_events_url":"https://api.github.com/users/mzupan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-29T14:07:06Z","updated_at":"2015-04-29T14:07:06Z","closed_at":null,"body":"I'm running a pretty current master\r\n\r\n```\r\nTerraform v0.5.0-dev (fa85e6b7692b816df0c784f8339e0446bb3a4dc9+CHANGES)\r\n```\r\n\r\nI have the following\r\n\r\n```\r\nresource \"aws_security_group\" \"internal-default\" {\r\n    name = \"WEB-internal-defaults\"\r\n    description = \"Allow set traffic from internal\"\r\n    vpc_id = \"${aws_vpc.main.id}\"\r\n\r\n    ingress {\r\n        from_port = -1\r\n        to_port = -1\r\n        protocol = \"icmp\"\r\n        cidr_blocks = [\"10.0.0.0/8\"]\r\n    }\r\n    ingress {\r\n        from_port = 22\r\n        to_port = 22\r\n        protocol = \"tcp\"\r\n        cidr_blocks = [\"10.0.0.0/8\"]\r\n    }\r\n\r\n    tags {\r\n        Name = \"Web - Default Internal\"\r\n        CostCenter = \"Web\"\r\n    }\r\n}\r\n```\r\n\r\nIt keeps trying to alter the security group each apply\r\n\r\n```\r\naws_security_group.internal-nat: Modifying...\r\n  ingress.2767533351.cidr_blocks.#:     \"0\" => \"1\"\r\n  ingress.2767533351.cidr_blocks.0:     \"\" => \"10.0.0.0/8\"\r\n  ingress.2767533351.from_port:         \"\" => \"0\"\r\n  ingress.2767533351.protocol:          \"\" => \"-1\"\r\n  ingress.2767533351.security_groups.#: \"0\" => \"0\"\r\n  ingress.2767533351.self:              \"\" => \"0\"\r\n  ingress.2767533351.to_port:           \"\" => \"65535\"\r\naws_security_group.internal-nat: Modifications complete\r\naws_instance.nat: Modifying...\r\n  vpc_security_group_ids.#:          \"1\" => \"2\"\r\n  vpc_security_group_ids.2847372475: \"\" => \"sg-45297821\"\r\n  vpc_security_group_ids.3329033720: \"sg-f6347892\" => \"sg-f6347892\"\r\naws_instance.nat: Modifications complete\r\n```"}}