Top "Terraform" questions

A tool from Hashicorp used for defining infrastructure as code.

Terraform azurerm 2.x Error: "features": required field is not set

So azurerm updated to 2.0 a few hours ago.... My main code is version locked for safety, but I'm doing some …

azure terraform
Error registering: NoCredentialProviders: no valid providers in chain ECS agent error

Im trying to use EC2 Container service. Im using terraform for creating it. I have defined a ecs cluster, autoscaling …

amazon-web-services amazon-ec2 ec2-ami terraform amazon-ecs
How to give the target bucket log-delivery group WRITE and READ_ACP permissions?

I am trying to setup a cloudfront dist and s3 bucket with terraform. When I run terraform apply it is …

amazon-s3 terraform amazon-cloudfront terraform-provider-aws
Terraform with Azure Key Vault to get secret value

Is there any way to get the value of a secret from Azure Key Vault? Doesn't look like value gets …

azure terraform azure-keyvault
Is it possible to access module state in a terraform remote state file?

If a terraform script uses a module that has outputs, it's possible to access those module outputs in using the …

terraform
How do you dynamically create an AWS IAM policy document with a variable number of resource blocks using terraform?

In my current terraform configuration I am using a static JSON file and importing into terraform using the file function …

json amazon-web-services terraform amazon-iam infrastructure-as-code
How can I create a route53 record to an alb?

I want to create a new alb and a route53 record that points to it. I see I have the …

terraform
Terraform state locking using DynamoDB

Our Terraform layout is such that we run Terraform for many aws (100+) accounts, and save Terraform state file remotely to …

amazon-web-services amazon-s3 amazon-dynamodb terraform
How to set hostname with cloud-init and Terraform?

I am starting with Terraform. I am trying to make it set a friendly hostname, instead of the usual ip-10.10.10.10 …

terraform cloud-init