Skip to main content

All Questions

Tagged with
0 votes
1 answer
1k views

ECS service is not starting tasks

Hello I am using aws ecs and terraform to deploy a few containers. I am trying to create an ecs cluster with ec2 instances and in each instance I want to run two nginx containers. I have a load ...
Hassan Kamran's user avatar
1 vote
0 answers
1k views

How to map ports in Azure Container Instances via Terraform?

I have two containers in my container group on Azure using Azure Container Instances (ACI), one (container A) exposing ports 80 and 443 to the internet (reverse proxy), the other one (container B) ...
Simao Gomes Viana's user avatar
0 votes
1 answer
2k views

Terraform Error: Error initializing Docker client: protocol not available

I am attempting to go through the Terraform install from their website at https://learn.hashicorp.com/terraform/azure/install When I get to the step that says to run terraform apply I get the ...
JamesTheDev's user avatar
2 votes
2 answers
230 views

How can you automate rolling upgrades of Docker Swarm nodes?

What's the typical process to roll out an upgrade of Docker and other OS updates to a Docker Swarm cluster? Since I want it rolled out, I was thinking of just doing a full Terraform build which will ...
Archimedes Trajano's user avatar
0 votes
1 answer
130 views

Terraform cannot find terraform-provider-avi in docker container

I am hitting the following error trying to run terraform in a docker image with the terraform-provider-avi. Error: Error asking for user input: 1 error(s) occurred: * provider.avi: fork/exec /root/....
user9274676's user avatar
3 votes
3 answers
8k views

TERRAFORM how do i have 1 ecs cluster with 2 or more ecs service/task definitions?

Using Terraform, I have tried the hardest to find out how to create 1 ECS cluster and have multiple services running under it. SO basically i have 2 different containers i want to run with this 1 ECS ...
uberrebu's user avatar
  • 523
0 votes
1 answer
877 views

In terraform, howto attach a backing ec2 instance to an ecs service

I’m using Terraform to upload a web to AWS. This ECS, with a docker image, that errors with 500 when I try to go to it’s assigned A-record DNS name. For this service, I’ve assigned a few AWS resources:...
Frye's user avatar
  • 253