Category "terraform"

Attaching VM Scale Set to Application Gateway's backend pool

Can anyone provide an example of how to add an Azure VM Scale Set (VMSS) to an application gateway's backend pool using Terraform. I can only find one example

Azure: Activating AGIC for existing Application Gateway via Terraform does not work completely

if I activate AGIC for AKS via Terraform for an existing Application Gateway: addon_profile { ingress_application_gateway { enabled = true

Terraform script for provisioning azure Virtual machine scale set along with custom data or cloud init

I would like to know the terraform script for provisioning azure Virtual machine scale set along with custom data or cloud init. I tried many ways to run my scr

Terraform - iterate over nested map

I am trying to create IAM binding for Bigquery dataset using the resource - google_bigquery_dataset_iam_binding. The requirement is I read the parameters in thi

Error while configuring Terraform S3 Backend

I am configuring S3 backend through terraform for AWS. terraform { backend "s3" {} } On providing the values for (S3 backend) bucket name, key & regio

Application Insights duplicated logs

I have a .net core API running under Azure Kubernetes service, with Application Insights provisioned with Terraform. When viewing Application Insights in the Az

How to install terraform 0.12 in an alpine container with apk?

I want to add terraform version 0.12.21 in an alpine container, but I can only add 0.11.0 using apk. If I try to add it as the desired version I get the follow

Terragrunt provider.tf generation not generating files

The expectation is that when running a terragrunt run-all apply from the root directory, a provider.tf file will be created in the sub directories. I've verifie

Terraform: Reference locals values inside the creation block

Is it possible to reference another locals value inside the creation of a locals value? The example below was the smallest and simplest example I could come up

Terraform: wait till the instance is "reachable"

I have some Terraform code with an aws_instance and a null_resource: resource "aws_instance" "example" { ami = data.aws_ami.server.id instance_ty

WAF for all ALBs in an account using terraform

This is my waf.tf terraform file: resource "aws_wafv2_web_acl" "waf_acl-dev" { name = "waf_log4j_Protections-dev" description = "WAFv2 for dev"

Authenticating with Azure Repos git module sources in an Azure Pipelines build

I'm currently creating a pipeline for Azure DevOps to validate and apply a Terraform configuration to different subscription. My terraform configuration uses m

Error assigning Synapse role using Terraform

i am trying to assign an in-bulit role in Synapse through Terraform but i get an Error. This is what I'm trying to do: resource "azurerm_synapse_role_assignment

aws elasticbeanstalk terraform plan does not show sensitive setting

I am using terraform to provision elasticbeanstalk and there have been no changes in my template but still when I try to plan, it shows me below: # module.ab

Terraform: The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ValidateProviderConfig call

The plugin logs may contain more details I am trying to deploy an EKS cluster in the eu-central-1 region on aws in terraform. What am I doing wrong here? This i

Azure devops pipeline terraform error - 403 when attempting role assignment

I'm attempting to deploy an aks cluster and role assignment for the system assigned managed identity that is created via terraform but I'm getting a 403 respons

Login error for admin SQL Server during terraform plan

I'm building an Azure infrastructure with terraform. I need to create a specific user of the DB for each DB in the server. To create the users I use the provide

Tagging autoscaling groups created by EKS

I created an AWS EKS Cluster with the terraform-aws-eks module. Terraform version is 1.0.6, aws provider version is 3.60.0. With these versions i should be able

Terraform outputs 'Error: Variables not allowed' when doing a plan

I've got a variable declared in my variables.tf like this: variable "MyAmi" { type = map(string) } but when I do: terraform plan -var 'MyAmi=xxxx' I get

Terragrunt not findind folder from source repo

I am using the official Gruntworks samples with the backend (modules) and frontend (live) repos. I wanted (for reasons beyond the scope of this question) to swi