Skip to main content

Questions tagged [terraform]

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

0 votes
0 answers
110 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
233 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
0 votes
0 answers
48 views

How to assign Digital Ocean floating ips/reserved ips to openstack?

so for an app that is based partly on openstack, I am evaluating the deployment on Digital Ocean as a testbed. The openstack deployment using kolla-ansible also bascially worked. However, while the ...
step21's user avatar
  • 1
1 vote
1 answer
120 views

Terraform resources not getting destryoed from terminal

I wanted to destroy the DEV environment from my Kubernetes hosted on AWS EKS. There are two parts to the resources; the infrastructure part and the application part. I use Terraform/Terragrunt to ...
Summerborn Storm's user avatar
0 votes
0 answers
61 views

Seeking Expert Advice on Terraform Deployment Cleanup

I've been successfully using Terraform for various deployments, managing to create multiple environments for different clients using a single Jenkins job. However, I've hit a roadblock when it comes ...
Yousuf's user avatar
  • 45
0 votes
2 answers
68 views

S2S VPN on AWS EC2 - routing issue for VPC

I'm trying to prepare VPN setup from scratch. I used Terraform + AWS + Strongswan. Basic diagram is attached here: AWS diagram, S2S VPN So I have VPC_left: 172.32.0.0/16 with subnet_left: 172.32....
k-wolski's user avatar
1 vote
0 answers
171 views

Running Initialization Script After Setting Up Aurora Serverless Cluster v2 Using Terraform

We have successfully created an Aurora Serverless Cluster v2 using the terraform-aws-rds-aurora Terraform module. Now, we want to run an initialization script after the cluster setup to create ...
Anirvan Ray's user avatar
0 votes
1 answer
55 views

Local terraform repository, remote ec2 with assumed role

My current setup is: My local machine (actually one for each developper) A git repository containing my terraform configuration An EC2 instance which assumes an IAM role which grants it permissions ...
Camusensei's user avatar
0 votes
0 answers
72 views

How to set a pre-exiting password for an aws_db_instance resource, from a secure SSoT container while keeping it out of the state file?

I'm trying to find a solution for setting the master user password of an aws_db_instance from a pre-existing secret (which is currently in an existing Secrets Manager resource). If I use password = ...
Tar's user avatar
  • 101
0 votes
0 answers
368 views

Terraform - error while configuring s3 backend, with instance profile

First up, we use ADFS and do not have individual IAM user profiles. We use the instance profiles as per the roles/permissions we need, and do not use individual access keys etc., This issue came up ...
mgn's user avatar
  • 1
0 votes
0 answers
26 views

Setting Up Proper Routing for SQL Instance in Different GCP VPCs without Public Exposure or Gateway VM

I'm facing a networking challenge with Google Cloud VPCs and peering, and I'm hoping to get some guidance on how to resolve it. Here's my setup: I have two VPCs in Google Cloud: VPC "bastion"...
anaconda1337's user avatar
1 vote
1 answer
840 views

InvalidConfigurationRequest: A load balancer cannot be attached to multiple subnets in the same Availability Zone

I copy-paste the part of my main.tf file: resource "aws_security_group" "servers" { name = "allowservers" description = "Allow TCP:8080 inbound traffic to ...
user avatar
0 votes
0 answers
121 views

How to use separated load balancers for frontend and backend in ECS?

I have the following terraform configuration for a load balancer running in ECS AWS for my django app container deployed in ECS: resource "aws_lb" "api" { name = &...
Lucas's user avatar
  • 123
0 votes
1 answer
240 views

Terraform - for directive in JSON

I am trying to get loop over string values in an IAM policy resources block to allow rds IAM authentication. My resource definition is: resource "aws_iam_policy" "...
joebegborg07'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

15 30 50 per page
1
2
3 4 5
29