Questions tagged [terraform]
For questions about Terraform, an open source tool to maintain infrastructure.
322 questions
0 votes
1 answer
20 views
OCI Instance doesn't seem to be public
I'm trying to set up a Tailscale exit node in Oracle Cloud Infrastructure using Terraform. To that end I've created: VCN Subnet Subnet security list Compute Instance (I also tried adding a gateway to ...
0 votes
0 answers
12 views
Encryption in transit in OpenStack
I want to setup encryption in transit for services in a private subnet (not reachable from the internet) on openstack. The infra/platform is setup with terraform + cloud-init. Apparently, the easiest ...
0 votes
0 answers
17 views
IaC way to allow GitHub actions to create PRs?
In a GitHub repo's settings under actions -> general, there are the options as seen in the image. I have a workflow that needs to be able to create PRs, and now I run it on my own GitHub account, ...
-1 votes
1 answer
70 views
Terraform confirm expiration is set, but ignore changes to expiration
We have an... annoying problem. As our company's Azure policies and Terraform Modules developed, we ended up with Azure KeyVault Keys that Terraform has created, but never set an expiration date. Now ...
0 votes
0 answers
42 views
Appropriate way to reference a variable in yamldecode for Terraform
I am improvising a terraform process for Fabric that has static hardcoded configurations on a config.yml. They have not used variable.tf for configurations. The variable.tf does include environment ...
0 votes
0 answers
30 views
When I create a static web app with azure and configure pipelines on Azure DevOps, it goes on loop
I am trying to create a static web app using Terraform. I want to configure a pipeline that runs everytime I commit to dev branch. Here the code to create my static web app in Terraform resource "...
0 votes
0 answers
48 views
Manage infrastructure destruction using ArgoCD + FluxCD + Terraform
I am using a combination of ArgoCD, FluxCD and Terraform to provision infrastructure resources in a GitOps way. Each technology has each function: Terraform: a module that contains all the ...
0 votes
0 answers
78 views
AKS Ingress not reachable from outside despite correct DNS, NSG, and working internal connectivity
I’m deploying an AKS cluster via Terraform and letting Azure automatically handle the VNet and Load Balancer provisioning. I’ve also tried provisioning those manually — the outcome is the same either ...
0 votes
0 answers
69 views
Terraform how to debug Error: 400-InvalidParameter, Unable to process JSON input
Hello I tried to create a database system via Terraform OCI resource called "oci_database_db_system". When I execute Terraform plan it's OK. But when I execute Terraform apply I got the ...
0 votes
1 answer
57 views
how to extract/use indexes from "toset" function in a map for a new variable
I am learning about terraform maps to understand how to use them to reduce copying/pasting redundant code sections. In following a tutorial I found at https://spacelift.io/blog/terraform-map-variable#...
0 votes
0 answers
31 views
Advice on the overall HA architecture?
I'm deploying a high-availability Kubernetes cluster on VMware vSphere using Terraform and need feedback on some architectural decisions. Current Planned Architecture +-------------+ ...
1 vote
1 answer
46 views
Avoiding "$${terraform.workspace}" in Python CDKTF
I'd like to set count to 1 when TF_WORKSPACE is prod and 0 otherwise. I recently learned about Fn.conditional and would like to compare a working implementation of it, using purely Python CDKTF, with ...
0 votes
1 answer
111 views
Why does adding the PROXY Protocol to the Traefik Helm chart configuration in Terraform cause it to fail?
I'm trying to set up the Traefik Helm chart in Kubernetes to get a Let's Encrypt TLS/HTTPS certificate and use it for an IngressRoute, but whenever I add the Proxy Protocol stuff to preserve client IP ...
0 votes
1 answer
118 views
What causes a VM provisioned by Terraform to not acquire the IP address specified in cloud-init?
I am learning Terraform and would like to provision a VM in vSphere that uses the static IP address specified in the Terraform configuration. I am using this template and here is my Configuration: ...
0 votes
1 answer
202 views
Booting Linux VM using PXE in Proxmox (RHCOS or FCOS)
I am trying to create Terraform/Ansible/Cloud-init Hybrid for creating Openshift and OKD clusters on Proxmox. Since CoreOS doesn't support cloudinit, but rather ignition there are only a couple of ...