Skip to main content

Questions tagged [terraform]

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

1 vote
2 answers
406 views

Change formatting of IPv6 address in Terraform

I'm running into problems with DNS and ipv6 addresses with Terraform. I'll get an address like 2345:0425:2CA1::0567:5673:23b5 from Digital Ocean, Vultr, etc. That gets sent that to Constellix for ...
dkwiebe's user avatar
  • 651
1 vote
3 answers
1k views

terraform: Configuring load-balancer to use dynamic port of ECS task/service in AWS

This is sort-of a general question for how dynamic port assignments are supposed to work, though my specific context is trying to figure-out if there is a natural way for a target-group to know the ...
Dustin Oprea's user avatar
0 votes
1 answer
1k views

ECS service is not starting tasks

Hello I am using aws ecs and terraform to deploy a few containers. I am trying to create an ecs cluster with ec2 instances and in each instance I want to run two nginx containers. I have a load ...
Hassan Kamran's user avatar
0 votes
1 answer
95 views

using terraform or aws cli how to enable/tick "Enable load balancing" when creating an application (codedeploy)

In AWS when creating a Codedeploy/application, how to enable the "Enable load balancing" option using the awscli or terraform? Using the command line I can only select/define the target ...
nbari's user avatar
  • 568
0 votes
1 answer
2k views

What permissions to set in service account for project creation?

When I configure google cloud cli with my credentials, it is able to create a new project and create resources inside it. But, for automation purpose in a pipeline, not able to use with my credentials ...
Kalel's user avatar
  • 254
1 vote
1 answer
6k views

Terraform Escape sequence selector

I have password with f\3tix# I created variable in below format Variable password{ Type = string Default =“f\3tix#” } When I run terraform validate I am getting error "symbol 3 is not ...
Vinusha 's user avatar
0 votes
1 answer
87 views

Both C and D drives behave as non-persistent, even though i have set C drive as "non-persistent" and D drive as "Persistent"

Is it the disk, which behaves as persistent and non persistent or the VM? I have a VM on my vsphere with two disk drives ( C and D ), Both Drives are marked as THIN PROVISIONED. this machine is being ...
ravi kumar's user avatar
0 votes
0 answers
387 views

Most simple way to setup forwarding proxies using AWS?

I'm currently looking at a task where I guess that I'm lacking some networking background, despite it sounds rather simple in theory: For collaboration we're using a dedicated repo server located in ...
Corsair's user avatar
  • 101
0 votes
1 answer
417 views

How can I find the list of instance types that do not require ENA and the list of AMIs that support ENA?

I have this Terraform file - terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.23" } } required_version = ">= ...
Lone Learner's user avatar
0 votes
1 answer
95 views

installing terraform on CentOS

How do I get my terrfaform installation working on centos properly? The only way for me to run terraform commands is if I add the path to the terraform executable.
Hassam Dauhoo's user avatar
0 votes
0 answers
93 views

terraform output is getting extra content, how to fix that?

terraform output -raw ssh_key Should give only the ssh key, but getting below output. output of terraform Not coming if we use direct terraform but coming with the version installed using tfenv. ...
Kalel's user avatar
  • 254
0 votes
1 answer
1k views

Azure fails to attach disk to VM

I have a VM in zone 1 and 2 and a disk in zone 1, but when I run my script it fails with the following message: AttachVolume.Attach failed for volume "disk-name" : rpc error: code = Unknown ...
Domenico's user avatar
0 votes
0 answers
858 views

How to set dependency based on existence of a variable in terraform?

I tried setting up dependency using a variable existence but getting syntax error. │ Error: Invalid expression │ │ on prometheus.tf line 231, in resource "kubernetes_persistent_volume_claim&...
Kalel's user avatar
  • 254
0 votes
0 answers
3k views

How to skip resources during terraform destroy?

It seems there is an issue with order of deletion, the aws-auth configmap used for accessing the cluster is getting destroyed before the deletion of other resources, even after that EBS volumes are ...
Kalel's user avatar
  • 254
0 votes
0 answers
1k views

terraform destroy failing for kubernetes provider with pvc in aws eks, how to fix that?

We have done kubernetes deployment using terraform kubernetes provider, while creating the cluster eks itself. When we try to destroy after that, didn't use the product yet, just testing the destroy. ...
Kalel's user avatar
  • 254

15 30 50 per page
1
3 4
5
6 7
29