Quantcast
Channel: Terraform - HashiCorp Discuss
Browsing all 11357 articles
Browse latest View live

Offering to Help on CDK

First off, I’m very excited to see this. I’ve been following the CDK and Terrastack for awhile now. Secondly, I’ve been working on a fork of Terrastack for awhile now since I thought the project had...

View Article


CDK Generated Names

I know the AWS CDK uses generated names, but I’m curious why generate names here? I could see it help with possible conflicts, but it seems harder to view normal terraform plan/apply output and harder...

View Article


How to create resources from a list of objects?

I have a list of objects, and I want to use the object information to create resources. How is that possible? let’s assume I have this “object_list” [ { "id" = "abc1", "target" = "xyz1" }, { "id" =...

View Article

Understanding policy attachments?

I’m importing few resources into terraform, I have the following resources: aws_iam_group aws_iam_group_policy_attachment (10 policy arn’s) data_aws_iam_policy_document. (for inline group policy)...

View Article

AWS MSK Cluster Always recreates even no changes done for MSK Cluster

Hey, I’m actively using Terraform and its really good but i’m facing an issue like Every time MSK is getting recreated. Could some one help me how to resolve this issue? Thank you so much for your...

View Article


Aws_security_group_rule toggles the re

Here is my code and the rules getting toggle always. Meaning when I execute, it adds the ingress rules for the security group, if I do Terraform apply, getting deleted these rules from the security...

View Article

Installing software on a Azure server post configuration

Hi all, Im pretty new to Terraform and have recently setup my code to spin up some server in Azure for the company I work for, uses some nice Modules for NSG’s and server config passing in plenty of...

View Article

Manage large infrastructure

Hey guys. I’ve been using Hashicorp software (such as Terraform, Packer, Consul and Vault) for few years now and, despite some mishaps, it has been working quite well. In this case, my question is...

View Article


AWS WAFv2 Web ACL resource doesn't exist

Hello, I am trying to use the new WAFv2 Terraform module for configuration a Web ACL with attached AWS managed rules. I am getting an error that resource doesn’t exist although I want Terraform to...

View Article


Passing VPC_ID from one Env (ex: Dev) to Another Env (ex: stage)

Hey, Here is my framework Environments —dev ------main.tf —stage ------main.tf VPC ------main.tf ------variables.tf ------outputs.tf VPC Module is like below and Used Outputs to VPC_ID resource...

View Article

Conditionally set a variable in a aws_s3_bucket resource

We can create a resource based on count like resource "aws_s3_bucket" "mybucket" { count = var.enabled ? 1 : 0 ... That is ok but I need something more. aws_s3_bucket has two different options for the...

View Article

Auth0 custom universal login page

How can I set auth0 custom login page (in auth0 UI it is «Universal Login → Login» )? I can successfully set Multi-factor Authentication Page and Password Reset pages. 1 post - 1 participant Read full...

View Article

Concatenating a tuple

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article


Provider error when using depends_on

terraform --version Terraform v0.13.0-beta3 + provider kyma-project.io/kyma-incubator/gardener v0.0.9 + provider registry.terraform.io/hashicorp/helm v1.2.3 + provider...

View Article

Terraform with Kubernetes on premise?

Hi, I couldn’t find the the answer. I see a lot of cloud providers that you can connect with Terraform. The question is… if you are running Kubernetes on local servers, can Terraform connect to it? 1...

View Article


Named value pointing to terraform run

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article

Null_resource Powershell

So currently the Azure provider does not include the ability to create Cost alerts for resources (feature is in preview). The azure powershell module does provide methods and cmdlets to create and...

View Article


Using for, foreach to declare multiple resources

I am trying to create a module that creates an EC2 instance with a variable number of attached volumes. The volumes need to be declared as separate resources and become attached to the instance via...

View Article

Pausing apply runs when applying modules

Hi, Is there a possibility to pause after a module is applied and get the output data before proceeding to the next module ? I would like pause on 1st run since the module creates keys that i need for...

View Article

Terraform to read variable values from csv file

csvdecode(file("./test.csv")) is throwing error. Call to function “csvdecode” failed: parse error. I want to read values of all variables from a csv file. Could you please let me know the correct way...

View Article
Browsing all 11357 articles
Browse latest View live