Skip to main content

Questions tagged [terraform]

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

166 questions with no upvoted or accepted answers
3 votes
0 answers
432 views

Changing Terraform code for allowing multiple NICs

we are trying to modify our Terraform infrastructure which we have not built ourselves. The current code does support multiple disks but only one NIC. We tried to modify the NIC part accordingly but ...
Hauke Laging's user avatar
  • 5,385
3 votes
0 answers
131 views

AWS Immutable Server data handling strategy

I have learnt about Immutable Server pattern, and it looks very cool. However, how do you handle data that you need to keep across different deployments, like logs or business data from your db ? I ...
rico's user avatar
  • 141
3 votes
0 answers
571 views

Terraform "wait_for_ready_timeout" not working on elastic-beanstalk environment resource

Default setting for "wait_for_ready_timeout", is 20 minutes. Within the "aws_elastic_beanstalk_application_version" resource I set this to 40m with the hopes of overriding the default. It will only ...
retroCheck's user avatar
3 votes
1 answer
2k views

How do I attach, format and mount a volume on boot in ecs?

I want my persistence (ebs) volume to be separate from my auto-scaling group launch configuration. So that it won't be accidentally auto deleted by terraform, or something. Also I may do something ...
xenoterracide's user avatar
2 votes
0 answers
743 views

Terraform Helm set tolerations

I'm trying to set tolerations values in Terraform Helm for the occm chart in the following way: set { name = "tolerations" value = yamlencode([ { key = "node.kubernetes....
sctx's user avatar
  • 33
2 votes
0 answers
835 views

Why can't my ECS Fargate cluster write to my mounted EFS volume, all deployed with Terraform?

I've got a Terraform deployment that deploys a Docker image into ECS Fargate. It attaches an EFS volume to the container. When I SSH into the container, I see the volume mounted, but I am unable to ...
CryptoFool's user avatar
2 votes
0 answers
60 views

Configure GCP PubSub subscription configured by Eventarc

I'm using Eventarc to connect an GCS event to a Cloudrun service. Eventarc, behind the scenes, will also configure a Pubsub subscription. Is it possible to modify some of the parameters in said ...
Michael Lee's user avatar
2 votes
0 answers
2k views

Cloud Init with Flatcar Linux -- Configuration not applying when passing custom file?

I'm using Telmate's Terraform provider for Proxmox and trying to deploy Flatcar linux virtual machines using Cloud Init by passing files via cicustom. Based on their example, I have crafted the ...
TJ Zimmerman's user avatar
2 votes
0 answers
137 views

How do you view terraform input variables and object values during validate/plan/apply, for debugging?

One would think, or at least hope, that setting TF_log=TRACE would allow you to see the values, maybe even value types, of variables being passed into modules., but it does not. What are the best ...
mhalligan's user avatar
  • 121
2 votes
1 answer
1k views

Creating an Azure VM from VHD failed "is not a valid resource reference"

I am trying to deploy virtual smart zone to Azure via Terraform, but could not succeed many times. Also I read the article existing here. Could you please give me an advice and fix it? Thank you so ...
tien's user avatar
  • 65
2 votes
1 answer
4k views

Iterating list of list of map

I'm trying to add route53 records form my certificates to validate but I can't get it working. I'm unable to get the right information. Here's an example. variable "my_certificates" { default = [ ...
Julien B.'s user avatar
  • 251
2 votes
0 answers
499 views

Terraform - Adding a second AWS IAM Policy

I currently have one IAM Role with a Policy attached to it in the following way: data aws_iam_policy_document bucket_access { statement { actions = [ "s3:AbortMultipartUpload", "s3:...
Neekoy's user avatar
  • 269
2 votes
1 answer
163 views

Terraform - Joining infrastructure and application configurations

I have 2 scripts for Terraform: Used to launch the infrastructure (VPC, Security groups, MySQL, Redis, Cassandra) servers. Used to launch the application (Auto scale groups, Load balancers, DNS ...
koby meir's user avatar
  • 151
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
1 vote
2 answers
58 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

15 30 50 per page
1
2 3 4 5
12