Category "terraform"

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

Terraform secret value not updating

I am having trouble with secret value update. If I recreate azurerm_windows_function_app with new name the new ID is not being updated in secret value. The secr

Terraform AlreadyExistsException: An alias with the name arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias already exists

When running terraform apply I get the following error Terraform AlreadyExistsException: An alias with the name arn:aws:kms:XXXXX:XXXXXXXXX:alias/myalias alread

Providing access to EFS from ECS task

I am struggling to get an ECS task to be able to see an EFS volume. The terraform config is: EFS DEFINITION resource "aws_efs_file_system" "persistent" { encryp

terraform attach root EBS volume which is generated from a snapshot to an EC2 instance created from AMI

I have the following code where I am trying to spin up an instance from an AMI and then replace the root volume with a volume I created from an earlier backup s

Ignoring changes for Azure Firewall rules in Terraform

I'm setting up an azure firewall rule and I wish to set ignore changes on the source addresses. Can anyone help me with the correct syntax. Using hashicorp/azur

Secrets doesnt pass from github action secrets to reusable workflow in github actions

I created secrets in github actions and trying to use them in reusable workflow, but I am unable to make it work, However, If I pass secrets hardcoded from call

Enable Azure Monitor for existing Virtual machines using terraform

I am trying to enable azure monitor feature for existing virtual machines which checks for health and performance of the VM using terraform but I am not able to

I am trying to run terraform init but getting this error: Failed to query available provider packages

Terraform init is giving the following error. No version has been upgraded and it was working few days back but suddenly it is failing. Error: Failed to query a