Category "terraform"

I want to assign UAMI to kubelet, but it fails due to lack of permissions

I'm trying to assign UAMI to an AKS kubelet using terraform, but I don't have permissions and it fails with the following error. Error: creating Managed Kuberne

Terraform fails to create ingress (could not find the requested resource ingresses.extensions)

I'm using minikube locally. The following is the .tf file I use to create my kubernetes cluster: provider "kubernetes" { config_path = "~/.kube/config" } res

Comparing: should I choose Terraform gcp modules or google gcp modules from git

I'm trying to serve a landing zone on GCP. I'm looking to get a starting repo and I found that terraform is exposing a foundation github repo with GCP modules w

Create Azure service health alert in Terraform

I just found out, if we create Azure service health alert with Terraform, with below code: resource "azurerm_monitor_activity_log_alert" "servicehealth" { nam

Terraform: use output of one module in another module

I have a module called vpc and another module called ecs. I'm trying to reference the AWS subnets created in the vpc module in ecs. Here's what I have, so far:

Terraform error: String required even after variable was declared as string

yesterday I asked a question to which I received a solution and updated everything which kind of seemed to remove the error. Now I have a new error. Here are th

How to enable Azure DevOps for Key-vault Access using Terraform

I have an azure devops pipeline with terraform to provision a private keyvault. Since I am using azure managed agents to run the pipeline jobs, it fails as the

Unable to create a map variable with Terraform

I'm trying to create a variable in my variables file which I thought I could do with a map, but it's not working. In my variables.tf file, I have: boot_disk = l

terraform init creating a new workspace in automation

I have looked on the Internets but did not find anything close to an answer. I have the following main.tf : terraform { cloud { organization = "my-organiz

Terraform - AWS Auto-Scaling-Group not deleting when using Suspended-Policy option for 'Terminate'

I've searched online and not found an answer to this anywhere, so apologies if it is a replicate of another question. I've created a CloudFormation Template fro

What's the difference between Terraform's kubernetes_config_map and kubernetes_config_map_v1 and kubernetes_config_map_v1_data?

I'm not clear what the difference is between kubernetes_config_map, kubernetes_config_map_v1andkubernetes_config_map_v1_data`? e.g. https://registry.terraform.i

How to integrate terraform state into github action workflow?

I have the github action workflow outlining the simple process of spinning up terraform to create resources in Azure. What I am missing is how to integrate the

How to use terraform to store connection string from SQL Managed Instance in Azure Key vault

I am using terraform to deploy a SQL managed instance and need to store the 4 connection strings that come with it in azure key vault. According to terraform do

How do I speed up the running of terraform deployments using threading?

When creating terraform deployments, I have to wait until the command completes before running the next command. If I have multiple deployments in parallel - (t

Internal Exception while creating AWS FMS Policy for CloudFront

I am getting below error while creating firewall manager policy for cloud front distribution. the documentation provide little details on how to deploy a Cloudf

Access a private docker registry with ECS Fargate and Terraform

I need my ECS Task definition to contain the credentials of my private Docker registry, using if possible a simple token, or, a user:password. Below is my code:

terraform override variables multiple modules with their environment specific variables

I have a terraform repo that contains multiple modules as below. root |-modules | |-module1 | | |- main.tf | | |- variables | |

terraform azure insufficient blocks

Here is my terraform plan terraform { required_providers { azure = { source = "hashicorp/azurerm" version = "=3.5.0"

terraform azure insufficient blocks

Here is my terraform plan terraform { required_providers { azure = { source = "hashicorp/azurerm" version = "=3.5.0"

Terraform ERROR: Inappropriate value for attribute "requires_compatibilities": set of string required

i get the following error message after terraform validate: ############################################################### Error: Incorrect attribute value typ