GCP users management from different config dirs
Hi guys, I’m working on GCP and I used to manage all the service accounts (and IAM related stuff) from the same configuration directory. Now I want to create a new “service” and so I would like to...
View ArticlePopulating a terraform map variable from a CSV file
How to define a value for map variable in a CSV file. Getting following error : “Inappropriate value for attribute “tags”: map of string required.” CSV file is like:...
View ArticleTerraform AzureRM key vault access_policy, how to set empty
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic
View ArticleHow to remove trailing comma in a for loop
First let me say that this may not be the best way to do this, if not, please let me know. I’ve tried “all the things” and seem to run into an issue with each one. Here’s the current var. variable...
View ArticleTerraform with deploying VMWare physical hosts
Hi, Would anyone direct me to tips on deploying VMWare hosts (not nested) with Terraform? Just some general beginning guidance. Thanks again. 1 post - 1 participant Read full topic
View ArticleTerraform on WAF, IPS, IDS, FW etc
Hi, I am new to Terraform and would to explore Infra as a service. Hope I am in the right forum. May I know whether Terraform can auto provision WAF, IPS, IDS, FW etc besides VM for OS, DB. For...
View ArticleIssue with rate_based_statement
Hi All, I am facing an issue with wafv2 resource. I am able to add resource with below code, resource “aws_wafv2_web_acl” “test2” { name = “test2” description = “test2 Web ACL” scope = “REGIONAL”...
View ArticleCreate list of objects from multiple list of objects
Hello Everyone, I have following lists bucket_dns_names = [ “1”, “2”, “3”, ] bucket_ids = [ “11”, “22”, “33”, ] cloudfront_origin_access_identity_paths = [ “111”, “222”, “333”, ] What I want to create...
View ArticleDRY string construction from resource
For our EC2 instances, we give them a name (which is also the hostname) that combines a common string, ie ‘vault-’, suffixed by the first few characters of the EC2 instance id. For example: A vault...
View ArticlePossibility of assuming multiple IAM roles in a single apply
Sort of an architectural noob as far as setting up Terraform project structure, but is there a way to assume more than one IAM role so that different sections of the Terraform apply are executed by...
View ArticleNeed support for multiple aws_ecs_service and aws_ecs_task_definition
Hello, i am looking for some example to add multiple ECS Services which will refer to respective task definitions and container definitions using - for_each loop. Can you please help ? Redirecting me...
View ArticleIssue with sequencing a delete/create
I am looking for a solution for the following issue. I have an existing module A with a resource A that writes a consul policy. *name = "${ var.application }.${ var.component }"* consul_policy =...
View ArticleTerraform VSCode Extension while using Terraform Cloud
Hi There, I may have missed something in my searching and reading. It looks as if in order to use the TF Extension for VSCode, a workspace must be initialized (terraform init) to use the extension...
View ArticlePassing JSON literally inside a string literal
Hi, I’m working with the Azure virtual machine extension resource and struggling to pass the JSON object to SETTINGS. Data comes from a .auto.tfvar.json file and in that file I have the following...
View ArticlePickup certificate from Windows Certificate Store for requests going through...
When running terraform apply command I’m getting “Error getting authenticated object ID: Error parsing json result from the Azure CLI”. I’ve tracked it down to using an expired certificate. Our proxy...
View ArticleReferencing existing resources
Hi! I’m just getting started and was wondering if it’s possible to reference existing AWS resources with cdktf. I’m using Python and could easily lookup resources with boto3, but I think it would be...
View ArticleAssign compute_instance to specific OpenStack node
First time poster, sorry if this does not A) belong here, and B) has already been asked. We use OpenStack and have a number of high-performance nodes used for things like k8s stacks and the like. I am...
View ArticleUsing flatten on a nested map of differing value types
Hi, I’m using terraform v0.12.26 and have a structure very similar to the example on the flatten page, except I have an extra key in the map. I’m trying to follow the example as closely as possible....
View ArticleTerraform 0.13-rc1 released!
The Terraform Team released Terraform 0.13-rc1 yesterday. For those not following 0.13 yet, Terraform 0.13 is all about community. Terraform 0.13 brings the ability to use count , for_each , and...
View ArticleTerraform + (GitHub Enterprise)
Hello guys, I am trying to generate an image with GHE (GitHub Enterprise) on it using terraform + customized configurations, like hostname, authentication, LDAP host… My goal is to generate images...
View Article