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

Using count to enable/disable resources in terraform 0.12 leads to odd code...

@dgmora wrote: Hi, up until now in terraform 0.11 we were using things similar to this: resource "aws_db_subnet_group" "main" { count = "${var.db_count}" } resource "aws_db_instance" "rds_instance" {...

View Article


AWS Elastic Beanstalk in t3 configurations: How to set the credit_configuration?

@gjuanp-glb wrote: Hello all. First topic on this forum. I’m really eager to learn about Terraform, however, I’m stuck with something. I have an environment that runs as Docker containers on Elastic...

View Article


Terraform Plan times out looping through Vertices

@kevinjcash wrote: 0 I am working on a Terraform state that creates postgres users and stores their password in AWS secrets manager. I’ve recently stumbled into a bug where terraform will hang in the...

View Article

Help us test .terraformignore (Terraform Ignore)

@pkolyvas wrote: We’re looking for a little help testing this upcoming feature. Terraform Ignore is a work in progress, and may have issues. You can use this build of Terraform via this feature...

View Article

How do I get the index whilst interating over a list with the For expression?

@arcotek-ltd wrote: Hi, Is there a way to get the index number of the current item whilst iterating through a list with the For expression. Similar to how {iterator}.key works with for_each?:...

View Article


Image may be NSFW.
Clik here to view.

Nested Maps Indexing issues

@mathivanan0512 wrote: Terraform version: Terraform v0.12.10 OS version: Red Hat Enterprise Linux Server release 7.6 (Maipo) Problem: When i use nested maps to create multiple ebs_volumes and trying...

View Article

Image may be NSFW.
Clik here to view.

Route53 private hosted zone through terraform

@dhineshbabuelango wrote: Hi All, we are trying to create a route53 private hosted zone and create recordset to map load balancer. After we create the private hosted zone we try to associate another...

View Article

Image may be NSFW.
Clik here to view.

V0.12 native support for HCL to JSON conversion

@Rajeevm2019 wrote: Hi, HashiCorp: Infrastructure enables innovation HashiCorp Terraform 0.12 Preview: Reliable JSON Syntax As part of the lead up to the release of Terraform 0.12, we are publishing a...

View Article


Terraform - create list based on resource count query returned no results

@DiegoTc wrote: I’m trying to create dynamically create a list of instance ids, to assign it to the loadbalancer. Based in this [question][1] I found I can do it using data "aws_instances"...

View Article


Terraform 101 and Terraform 210

@Jim420 wrote: Hi, Just wondering if anyone has attended the training Terraform 101 and Terraform 201. It is expensive $850 each. Any recommendations ? Thanks Posts: 1 Participants: 1 Read full topic

View Article

Why do the docs all put single variables values in string templates?

@LGraber wrote: Here is an example from your docs resource "aws_sns_topic_subscription" "user_updates_sqs_target" { topic_arn = "${aws_sns_topic.user_updates.arn}" protocol = "sqs" endpoint =...

View Article

Image may be NSFW.
Clik here to view.

Terraform reporting error “cannot use element function with an empty”

@ameyaagashe wrote: My NIC creation code is as below: resource "azurerm_network_interface" "tf-ni-test" { count = "${var.count_sss_vm}" name =...

View Article

Image may be NSFW.
Clik here to view.

What is the status of Terraform v0.11.15?

@saj wrote: No commit in the hashicorp/terraform repository has been tagged with v0.11.15 . The v0.11-branch CHANGELOG would seem to indicate that v0.11.15 was never released: Yet there are...

View Article


Addin Users and Groups to an Enterprise Application

@VF-mbrauer wrote: I was able to create a new Application in Azure and I got this one also registered as an Enterprise Application. But now my question is, how to add “Users and Groups” to this...

View Article

How do I add a variable to an s3endpoint

@caesharley wrote: I want to be able to add a variable to the s3 endpoint so that it is created based on an instancename or applicationset this works but is fixed key =...

View Article


Conditional and lists for a variable

@fauzigo wrote: Greetings ladies and gentlemen, I have a particular condition in one of my modules. Basically, I have a variable for a resource that the value is supposed to be a list, but I need the...

View Article

Merging two maps of objects

@Richard-Payne wrote: Hi guys, I’m looking for some advice or help with the following. I’m not even sure if it’s possible. locals { objs_a = { "item_1" = { "field1" = "value" "field2" = [ "list1",...

View Article


Split the output excluding the port number

@dhineshbabuelango wrote: I have a terraform code like below variable “records”{ default = example1.com:2181,example2.com:2181,example3.com:2181 } resource “aws_route53_record” “database” { count =...

View Article

Terraform HPA metric

@SoumyaMedepalli wrote: Terraform target utilization in hpa only provided for cpu (target_cpu_utilization) not for memory ,tx,rx If available how to set memory ,tx,rx targets Posts: 1 Participants: 1...

View Article

Terraform plan for Openstack existing host volumes are getting changed and...

@abhishekreddy481 wrote: Hi Terraform Team, We are using an older Terraform version 0.98 to provision the openstack VM hosts. We built the instances 2 year ago and we changed the VM’s memory and cpu...

View Article
Browsing all 11459 articles
Browse latest View live


Latest Images

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