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

Issues using for_each for my creating names of my buckets

Issues using for_each to create names Could anyone advise the how or why it does the following: You have two of the same resources named different Inside the module resource “aws_s3_bucket” “example1”...

View Article


Terraform HTTP provider handling request_body

I have a use case, which I believe, is covered with the basic HTTP provider from Terraform, however I’m running in to what I think is just a formatting issue. I am trying to POST a list of list values...

View Article


CDKTF TerraformHclModule add addtional input variable

const data_module = new TerraformHclModule(this, "data_module", { source: "git::https://dev.azure.com/project/repo", variables: { is_dmz: true, is_production: true, } } ) It would be great to have be...

View Article

Creation of Azure ADB2C policy keys using Terraform

I want to create Azure ADB2C policy keys using Terraform. Is there any way to do that? 1 post - 1 participant Read full topic

View Article

Possible to dynamically create several blocks of the same name?

I wanted to create a data structure to have a list of datadog_logs_custom_pipeline resources (docs), which has several blocks called processor. Before I made a dynamic block with content so that I can...

View Article


Selective Terraform Testing: Targeting New Resources While Preserving...

Take into account the tfvars file provided. Presently, during the execution of “terraform test,” all resources undergo provisioning and deprovisioning for testing. However, if the intention is to...

View Article

Missing Resource Instance Key

Hey Terraform Community, I’m reaching out for help with an error that’s been blocking my progress for a while now. I’m running into a “Missing Resource Instance Key” error when trying to deploy my...

View Article

Artifactory terraform configuration resource for maven index

I can’t find a terraform configuration resource for the Artifactory service maven index within the dcumentation: (Terraform Registry) I there any documentation / code example? or wil it come in any...

View Article


Terraform resetting RDS master password after import

Hi Team, Currently we are managing our RDS instance manually. We are trying to use terraform to manage our RDS instance. We imported the existing RDS configuration and not changing the passowrd. We...

View Article


Reference to undeclared resource - when resource exists

Hello I have 3 terraform files. main,tf, sqs.tf and mapping.tf main.tf - Creates lambda function sqs.tf - Creates SQS queue mapping.tf - creates - Lambda event source mapping main.tf resource...

View Article

Not able to Parse environment variable through CLI on terraform

terraform.tfvar certconfig = { “cert1” = { name = “validcert3” certificatename = { “app1” = { contents =...

View Article

How to pass a variable value from read to modifyPlan function instead of by...

I am wondering is there a way to pass a variable value from terraform read function to modifyPlan function ? I won’t want to pass variable by terraform state, can I achieve it by context ? 1 post - 1...

View Article

Stuck w/ dynamic block creating multiple blocks issue

I am trying to create a single dynamic block if there are values, but it tries to create multiple copies with the dynamic block given the error below. I am probably doing something wrong that is...

View Article


Error on terraform plan "out of memory

[keskiviikko 20.19] Mishra Narsing (EXT) terraform plan runtime: out of memory: cannot allocate 4194304-byte block (1209696256 in use) fatal error: out of memory goroutine 10870 [running]:...

View Article

Enable Vector Search For AWS Memory DB via Terraform

Does anyone know how, or if its possible to enable the vector search preview feature for memory db, when creating the resource using terraform? Thanks! 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

What are "credentials" on "confluent_kafka_topic" resource?

What does the credentials block on the confluent_kafka_topic resource do? I am familiar with credentials on the confluent_kafka_acl resource. The presence of credentials on this resource will add an...

View Article

How to use for loop with if condition for dynamic json

Below is the json file { “openapi”: “3.0.1”, “info”: { “title”: “Feedback.Api”, “version”: “1.12.0” }, “servers”: [ { “url”: “https://feedback” } ], “paths”: { “/v1/Surveys/{surveyId}”: { “get”: {...

View Article


Add ignore_changes for dynamic gsi block

Hi All, I am trying to add ignore_changes for GSI read and write capacity in the code block below. I have tried several methods to make it work, but with no luck. Could anyone kindly provide a...

View Article

Decoding "admin_ssh_key.0.public_key" for public key data

Hi Everyone, I am learning terraform and i want to create linuxvm on azure but i got one error. Error: decoding "admin_ssh_key.0.public_key" for public key data │ │ with...

View Article

Azure Virtual Desktop Host Pool Provisioning using terraform

Hi, I want to deploy Azure Virtual Desktop host pool via terraform. I want to add virtual machines to the host pool with the relevant configuration. In the provider documentation under argument...

View Article
Browsing all 11373 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>