Skip to main content

All Questions

0 votes
0 answers
24 views

How to pass output variables to new instance?

My goal is to create an HTTP balancer from 2 nodes using terraform, the problem appears when I want to add the received public IP addresses of the balancer and application server to the balancer ...
Kirill K's user avatar
0 votes
0 answers
121 views

How to use separated load balancers for frontend and backend in ECS?

I have the following terraform configuration for a load balancer running in ECS AWS for my django app container deployed in ECS: resource "aws_lb" "api" { name = &...
Lucas's user avatar
  • 123
0 votes
1 answer
575 views

Can't set up the GCP's external load balancer to work correctly with Terraform

Using Terraform, I want to build an infrastructure that consists of an external load balancer (LB) and a MIG with 3 VMs. Each VM within the MIG should run a server that listens on 80. Furthermore, I ...
mångata's user avatar
  • 109
0 votes
1 answer
208 views

Importing in terraform

So i want t import an application load balancer under the terraform management, i managed to add some of it's attributes like cross-region and delete protection, global accelerator etc, and i imported,...
logax's user avatar
  • 139
1 vote
2 answers
2k views

AWS Elastic Load Balancer: Forwarding Requests to all Instances

Using Terraform to create Autoscaling Group (with 2 instances) and Elastic Load Balancer (ELB) in AWS. The instances are running simple http-echo server written in Go on Port 3000. When the DNS ...
Parth Jaggi's user avatar
3 votes
1 answer
6k views

Problems creating AutoScaling Group with a Network Load Balancer (NLB) on AWS using Terraform

I'm trying to create na NLB using Terraform v0.11.0 (my application doesn't use HTTP, so I cannot use an ALB). Looking in the Hashcorp documentation, I could create the following code: resource "...
Tales Morais's user avatar