hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 484 forks source link

allow specifying https port #92

Open eedwards-sk opened 5 years ago

eedwards-sk commented 5 years ago

currently the template creates a rule for the http port, but if I'm enabling https as per

{
  "ports": {
    "https": 8501
  }
}

then I currently cannot access port 8501 because there is no security group rule created for it

brikis98 commented 5 years ago

+1. This would be good to add to the consul-security-group-rules module, similar to https://github.com/hashicorp/terraform-aws-consul/blob/master/modules/consul-security-group-rules/variables.tf#L51-L54. PR very welcome!