Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating aws_security_group_rule without cidr/source silently fails #10064

Closed
kalbasit opened this issue Nov 11, 2016 · 2 comments
Closed

creating aws_security_group_rule without cidr/source silently fails #10064

kalbasit opened this issue Nov 11, 2016 · 2 comments

Comments

@kalbasit
Copy link

Terraform Version

Terraform v0.7.9

Affected Resource(s)

aws_security_group_rule

Terraform Configuration Files

resource "aws_security_group" "es-kibana-master" {
  name_prefix = "es-kibana-master-"
  description = "The security group for the kibana/ES master node"
  vpc_id      = "${var.vpc_id}"

  tags {
    role           = "application-logs"
    ClusterVersion = "${var.version}"
  }
}
resource "aws_security_group_rule" "es-kibana-master-allow-es-from-all" {
  type              = "ingress"
  from_port         = 9200
  to_port           = 9200
  protocol          = "tcp"
  security_group_id = "${aws_security_group.es-kibana-master.id}"
}

resource "aws_security_group_rule" "es-kibana-master-allow-http-from-all" {
  type              = "ingress"
  from_port         = 80
  to_port           = 80
  protocol          = "tcp"
  security_group_id = "${aws_security_group.es-kibana-master.id}"
}

Expected Behavior

The security rule is added.

Actual Behavior

It takes a long time for it to finish (around 10 minutes), it exits 0 but no security rule is added.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
@grubernaut
Copy link
Contributor

Closed in #11809

@ghost
Copy link

ghost commented Apr 17, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants