Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion deployment/aws/aws/cert.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "tls_private_key" "boundary" {
}

resource "tls_self_signed_cert" "boundary" {
key_algorithm = "RSA"
private_key_pem = tls_private_key.boundary.private_key_pem

subject {
Expand Down
4 changes: 2 additions & 2 deletions deployment/aws/aws/lb.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_lb" "controller" {
name = "${var.tag}-controller-${random_pet.test.id}"
name = substr("${var.tag}-controller-${random_pet.test.id}", 0, 31)
load_balancer_type = "network"
internal = false
subnets = aws_subnet.public.*.id
Expand All @@ -10,7 +10,7 @@ resource "aws_lb" "controller" {
}

resource "aws_lb_target_group" "controller" {
name = "${var.tag}-controller-${random_pet.test.id}"
name = substr("${var.tag}-controller-${random_pet.test.id}", 0, 31)
port = 9200
protocol = "TCP"
vpc_id = aws_vpc.main.id
Expand Down