Closed holisticode closed 1 year ago
I'm experiencing the same issue, I created everything via terraform cli so It could not be a conflict with terraform state, I think its a bug.
Yup me too. Try to add more security group but still not apply
Same issue.
I had found that, in the.terraform/modules/elasticsearch/main.tf
line 164,the code security_group_ids = [join("", aws_security_group.default.*.id)]
,this security did not add any security_group content which we add in the parent module.
So, i added my security group id here manually. It's working. Like this security_group_ids = [join("", aws_security_group.default.*.id),"sg-xxxxxxxx"]
Same issue.
The security_groups
configuration option refers to the security groups that have access to the cluster' security group. This is an excerpt of a plan:
+ resource "aws_security_group_rule" "ingress_security_groups" {
+ description = "Allow inbound traffic from Security Groups"
+ from_port = 0
+ id = (known after apply)
+ protocol = "tcp"
+ security_group_id = (known after apply)
+ self = false
+ source_security_group_id = "sg-AAAAAAA"
+ to_port = 65535
+ type = "ingress"
}
Each specified SG will create a new ingress rule.
Experiencing the same issue. Not able to attach security groups I have defined myself.
If you add security groups manually in the console, they will be overwritten whenever you run terraform apply
. This completely breaks this module for anyone who would like to define separate security groups.
Hello, I have the same issue. @bgottlob thank you for your PR ! Have you any update about it ?
@osterman any update on this? Can we escalate?
Describe the Bug
Whatever is in
security_groups
seems to be ignoredExpected Behavior
Security groups specified in
security_groups
should be appliedSteps to Reproduce
security_groups = [aws_security_group.my_group1.id, aws_security_group.my_group2.id]
Screenshots
Output of
terraform plan
:In the above output, terraform is again trying to remove the groups I have manually added to the ES domain configuration via the AWS Web UI because in a previous run they did NOT get applied.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas: