Skip to content

Commit

Permalink
identify elb use in security group name
Browse files Browse the repository at this point in the history
this is indentical to how kops creates security groups
  • Loading branch information
etwillbefine committed Apr 20, 2020
1 parent 5860343 commit dc83e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security-groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "aws_security_group_rule" "masters_ingress" {

resource "aws_security_group" "public_loadbalancer" {
count = var.create_public_api_record ? 1 : 0
name = "public-api.${local.cluster_dns}"
name = "public-api-elb.${local.cluster_dns}"
tags = module.api_loadbalancer_label.tags
description = "Allows public HTTPS inbound traffic to API Server"
vpc_id = local.vpc_id
Expand Down

0 comments on commit dc83e0d

Please sign in to comment.