resource "aws_security_group" "default" is always dirty
Closed this issue · 0 comments
gugaiz commented
I have the following setting
allowed_security_groups = []
with or without that parameter, I get the output below every time I run terraform plan
~ resource "aws_security_group" "default" {
arn = "arn:aws:ec2:us-east-2:xxxxxxxxxxx:security-group/sg-xxxxxxxxxxxxxx"
description = "Allow inbound traffic from provided Security Groups"
egress = [
{
cidr_blocks = [
"0.0.0.0/0",
]
description = ""
from_port = 0
ipv6_cidr_blocks = []
prefix_list_ids = []
protocol = "-1"
security_groups = []
self = false
to_port = 0
},
]
id = "sg-xxxxxxxxxxxxxx"
~ ingress = [
+ {
+ cidr_blocks = []
+ description = ""
+ from_port = 0
+ ipv6_cidr_blocks = []
+ prefix_list_ids = []
+ protocol = "-1"
+ security_groups = []
+ self = false
+ to_port = 0
},
]
name = "beanstalk-development"
owner_id = "xxxxxxxxxxxxxx"
revoke_rules_on_delete = false
tags = {
"Name" = "beanstalk-development"
}
vpc_id = "vpc-xxxxxxxxxxxxxxxx"
}
How that can be avoided?