Skip to main content

Questions tagged [terraform]

Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.

0 votes
1 answer
26 views

ECS Dynamic Port Mapping: "port should be set when target type is instance"

I've set the following via Terraform: Task-definition level: network_mode = "bridge" Container level: portMappings = [ { hostPort = 0, containerPort = 8080 } ] Terraform ...
Dustin Oprea's user avatar
1 vote
1 answer
83 views

Terraform suddenly, regularly fails while pushing state to S3

As of a few months ago, Terraform will fail 10% of the time while, apparently, pushing state to the backend (which is in S3). I'll have to cleanup the cruft left behind, run it again, and it'll pass. ...
Dustin Oprea's user avatar
1 vote
2 answers
53 views

How to display all the resources present in aws using terraform command?

Terraform show command will show all the resources in the state file. But we need to display all the resources present in AWS (or region specific), not just the one in the state file. How to do that ...
uday kiran reddy's user avatar
0 votes
0 answers
34 views

How to add tags automatically to AWS Volumes with Terraform

I have the following Terraform script to deploy an EKS cluster (tags left empty to hide values) EKS.tf provider "aws" { region = var.region profile = var.profile default_tags { ...
user23627827's user avatar
0 votes
0 answers
19 views

Secrets management for Azure DevOps IAC

I have an Azure Devops Infrastructure As Code (IAC) allowing users to deploy virtual machines using terraform pipelines and to access them using SSH or RDP. For the moment, the process is the ...
raspbagel's user avatar
0 votes
0 answers
34 views

Kubernetes is no accepting traffic from my Load Balancer when I deploy it in Terraform in DigitalOcean

When I deploy my ingress controller I get an error from digital ocean dashboard 0/1 Kubernetes nodes accepting traffic -- First I create my kubernetes cluster named avatares_cluster # main.tf ...
Juan Topo's user avatar
0 votes
0 answers
41 views

Using PAT to authenticate against AzureDevops Git in AzApi Terraform Provider

I am trying to use the AzApi Terraform Provider to install fluxcd on a k8s cluster running on Azure Cloud. Fluxcd should then look for changes in a AzureDevops Git Repo. In the AzApi Terraform Flux ...
Andresch Serj's user avatar
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
1 answer
108 views

Can I tell Terraform to delete resource A before creating resource B?

I'm migrating some stuff in a terraform repo and replacing Resource A with Resource B, of different types. If the details are important, A is a CloudFormation stack, B is a native terraform resource ...
shearn89's user avatar
  • 3,552
0 votes
1 answer
104 views

Best practices on managing Terraform project repositories

As part of a new job role, I have started learning Terraform recently. Before, my main orchestration/provisioning tool was Ansible, and the best practice at my previous place was to hold the state for ...
Yuri's user avatar
  • 3
0 votes
0 answers
46 views

Terraform: Render special characters from typical query string (like '=', '&') in a variable assignment

It seems that Terraform is either rendering the intended query string value "... = ..", with &#61, which messes up the URL call. I tried to escape the \= in the string assignment, and ...
Rick's user avatar
  • 1
0 votes
0 answers
43 views

Updating csi-driver without stopping

I'm now facing this. # module.eks_volume_provisioning.aws_eks_addon.csi_driver will be updated in-place ~ resource "aws_eks_addon" "csi_driver" { ~ addon_version ...
jesus's user avatar
  • 1
0 votes
0 answers
37 views

Deploy TBMQ into Kubernetes via terraform not by Helm

I want to deploy a TBMQ MQTT broker into a kubernetes cluster. I succeded for minikube, but can't do this via terraform to my remote cluster. TBMQ does not provide Helm chart package. What approach ...
dgad's user avatar
  • 1
0 votes
0 answers
108 views

Terraform, EKS and cluster-autoscaler

I'm trying to deploy cluster-autoscaler to an existing EKS cluster. here's my terraform code: resource "aws_iam_policy" "cluster_autoscaler" { name = "...
Alexey Kiyashkin's user avatar
1 vote
1 answer
215 views

'aws s3 ls' command was hanging until setting default region

I created setup show in the image in region Oregon (us-west-2) ,and I was sure that everything was in place correctly , then I tried to do aws s3 ls from the ec2 in the private subnet , it was ...
kaushal47's user avatar

15 30 50 per page
1
2 3 4 5
29