Questions tagged [terraform]
For questions about Terraform, an open source tool to maintain infrastructure.
303
questions
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
28
views
Flux somehow tries to bootstrap on random cluster
I use terraform to set up a cluster and install fluxcd on it.
The cluster is set up correctly (i see both in azure portal).
In the bootstrap step however, i get an error showing that flux tries to ...
0
votes
1
answer
55
views
What is the "best practice" way to set Terraform variable values?
I am looking to understand that the "best practice" view on *.tfvars files is, as there appears to be conflicting schools of thought.
"Terraform Best Practices" states that ...
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, ...
0
votes
0
answers
68
views
Create an S3 blobstore on Nexus fails ("The S3 bucket exists but you are not the owner")
Before mentioning my problem, I want to inform you that I'm using terraform and having nexus container running on EC2 orchestrated by Amazon ECS. Here is the objective: I want to create an S3 ...
0
votes
0
answers
36
views
Terraform or azure tries using wrong storage account type
I'm creating a new storage account, storage container, storage blob, service plan, and finally - function. Everything but the last one is created successfully, and the last step fails with a message:
...
0
votes
0
answers
54
views
AWS EKS Fargate pod scheduling issue with Prometheus deployment
I'm encountering a problem with scheduling Prometheus pods on AWS EKS Fargate within my Kubernetes cluster. Here are the details of my setup:
I have configured an AWS EKS Fargate profile named ...
0
votes
0
answers
36
views
Register gitlab-runner through terraform after deploying the runner as a container
Context and code used
Here is the code I produced to deploy any kind of container on Azure.
(We are doing the same on AWS and facing the same kind of issues)
resource "azurerm_container_group&...
0
votes
0
answers
10
views
Extract RDS address value using data external in terraform
I am using data external block to extract the address of RDS
data "external" "rds_endpoint" {
program = ["/bin/bash", "-c", "aws rds describe-db-...
0
votes
0
answers
19
views
Terraform: Provider configuration with modules and feature flags
I want to use Terraform to manage many resources on many environments.
I chose to create a workspace for each environments.
I also use an object to enable or not module on each environement:
variable &...
1
vote
1
answer
34
views
Worker Pool in Spacelift showing as 0 workers
I created a private worker using https://github.com/spacelift-io/terraform-aws-spacelift-workerpool-on-ec2
However, my worker pool shows as 0 even though I can see the worker in my AWS Console. What ...