Category "terraform"

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

What happens if running "terraform apply" twice? (Terraform)

What happens if running "terraform apply" twice? Does it create all the resources twice?

Possible to assign disk drive letter to unassigned drives depending on size via powershell

Currently spinning up 11 unallocated volumes via terraform but noticed that the volumes come in a random order on the machine and not in the specified order of

What happens if running "terraform apply" twice? (Terraform)

What happens if running "terraform apply" twice? Does it create all the resources twice?

How to assign an AWS Elastic IP to a newly created EC2 instance with Terraform without it getting reassigned when another instance is created?

I currently have the following Terraform plan: provider "aws" { region = var.region } resource "aws_instance" "ec2" { ami = var.ami instance_

Terraform: Can I set variable type = any dict/object

Is there a way to allow any type of dictionary/object as an input variable? I have a module to create cron expressions with lambda and I'm trying to add a varia

How do you choose an unused VPC CIDR Block with Terraform?

Set up: I will be programatically creating environments using terraform. There are already a few VPCs that exist, and I want to ensure that when creating a new