Skip to main content

Unanswered Questions

36 questions with no upvoted or accepted answers
11 votes
1 answer
3k views

Provisioning times for Redis in cloud taking too long, how can we shorten it?

Provisioning a 1 GB Redis cache service on AWS takes around 8 minutes. Doing the same on Azure takes around 16 minutes. Ours Terraform scripts need the call back from the Redis systems. Why is this ...
3 votes
1 answer
314 views

How to use same terraform code for both kubernetes clusters Oracle (OKE) and AWS (EKS)?

I want to use same terraform code for both kubernetes clusters oracle (OKE) and AWS (EKS) and install the argocd helm chart on it, I given my code below for your reference, now the problem I am facing ...
2 votes
0 answers
526 views

Terraform init too slow on installing hashicorp/aws

It takes a few minutes to install the following provider but installs modules and other providers quickly. There is an open issue on GitHub for this but no steps for troubleshooting. Installing ...
2 votes
1 answer
2k views

Terraform: Why is null_resource's remote-exec not connecting to aws_instance via SSH?

I've been going through answers to similar questions on this StackExchange and on StackOverflow and reading through documentations all day ... Here's the .tf file I'm executing: # defines the AWS ...
2 votes
1 answer
446 views

Is it possible to loop through EC2 resources created with a count variable, while in the same module?

I have an EC2 module, which determines the number of instances via a count variable, like so resource "aws_instance" "this" { count = var.instance_count I would like to ...
1 vote
1 answer
152 views

Making AWS EFS Replication play nice with Terraform for disaster recovery

How do I use EFS block replication for disaster recovery when the replica volume is unknown to terraform? After breaking the replication/mirror I need to import the volume into the plan so it can ...
1 vote
2 answers
214 views

How should I organize a large number of unrelated Infrastructure as Code projects?

I work at a municipal government with many departments. Teams from these departments request new servers for specific uses/applications. Our environment is currently using VMware VSphere (~1500 VMs, 2 ...
1 vote
1 answer
2k views

Terraform plan does not update AWS Task Definition with last active revision value

I would like your help on a situation that I'm facing with terrafom. My company recently launched a new website whose wordpress is hosted in an AWS ECS container. I had to make some adjustments to the ...
1 vote
1 answer
1k views

Making aws_lb_listener default_action dynamic

I use Terraform a mostly uniform group of servers - EC2, S3 etc. This works reasonably well, except we need to have rather different actions for the load balancers depending on the specific group, and ...
0 votes
0 answers
15 views

How to better organise Terraform code using Helm provider

I inherited a Terraform codebase from a former development team. The former development team and I have in common .NET and C# experience, so not really experts. The current codebase uses Helm provider ...
0 votes
0 answers
19 views

Using IaC for docker image management/update?

I was building a simple infrastructure using terraform (for AWS), I came accross the chicken egg of Lambda functions needing an image to be created. The options I envisioned are two: 1 - I decouple ...
0 votes
1 answer
31 views

Delete renamed/removed Services/Pods

I installed fluxcd via terraform on my AKS Cluster. If i rename a Service in the Flux Repo, it deployes the Service with the new name - but doesn't delete the old Service. Is this normal or do i have ...
0 votes
0 answers
9 views

Error configuring Terraform Community Providers

I'm trying to configure a provider to create a Redshift datashare cluster, but I'm encountering some issues. In the version file, redshift is set to required_providers, And in the root module, I’ve ...
0 votes
0 answers
3 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 ...
0 votes
1 answer
47 views

Importing resource to replace terraform official module

I have a resource created using official AWS terraform module, like: module "my-module" { source = "terraform-aws-modules/efs/aws" } Now, I want to convert that to a resource, ...

15 30 50 per page