Category "terraform"

Terraform : Init

I have changed the version of the Terraform provider to get through an error and this has caused another one. I am using Azure Devops pipeline to build an Azure

Terraform - Use of environment variables in TF files

I would like to use environment variables in my TF files. How can I mention them in those files? I use Terraform cloud and define the variables in the environm

What is the AWS Service Principal value for stepfunction?

I'm writing the terraform for creating an IAM role for AWS StepFunctions. What should be the value for Principal in assume_role_policy { "Version": "2012-

Passing multiple provider aliases to a module in terraform 0.12.13

I'm building code that needs to talk to two different AWS accounts, which the documentation says should work. This worked under 0.11.14 In the main, in my pro

Terraform - refactoring modules: Error: Provider configuration not present

I'm refactoring some Terraform modules and am getting: Error: Provider configuration not present To work with module.my_module.some_resource.resource_name its

Terraform: How to create API Gateway endpoints and methods from a list of objects?

I want to create a terraform (v0.12+) module that outputs an AWS API Gateway with Lambda integration(s). I cannot quite understand how (or if it is even possibl

What is the best way to solve `EntityAlreadyExists` error in terraform?

I am using terraform v0.12.6 and I run into many errors like: Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'security-search-

tls unsigned certificate when using terraform

The microstack.openstack project recently enabled/required tls authentication as outlined here. I am working on deploying an openstack cluster to microstack usi

Terragrunt ignores newly added outputs in a project

I've inherited a terraform project set up to deploy to the Elastic Container Service on AWS. So far, I've greatly enjoyed working with it, and have managed to c

Use terraform to set up a lambda function triggered by a scheduled event source

I would like to run an AWS lambda function every five minutes. In the AWS Management Console this is easy to set up, under the lambda function's "Event Sources"

Use terraform to set up a lambda function triggered by a scheduled event source

I would like to run an AWS lambda function every five minutes. In the AWS Management Console this is easy to set up, under the lambda function's "Event Sources"

How to enable terraform module only with a specific workspace

I define a provider containing modules. I can call terraform apply at the provider level with two different workspace: workspace list default wk-p1 * wk-p

Terraform update Route53 DOMAIN NameServers

Is it possible to create terraform script to update domain name server? I want to update the nameservers on the domain itself, not the zone. The domain under "r

Terraform update Route53 DOMAIN NameServers

Is it possible to create terraform script to update domain name server? I want to update the nameservers on the domain itself, not the zone. The domain under "r

Terraform update Route53 DOMAIN NameServers

Is it possible to create terraform script to update domain name server? I want to update the nameservers on the domain itself, not the zone. The domain under "r