In Terraform how to reference resource created vi loop over list of objects
I have a list of objects specified in variables.tf as follows:
Error: Failure when executing a Terraform Resource creation request
I am working on a scripts for creating a site hierarchy in Cisco DNA/Catalyst Center. I have structure that looks like this:
Conditionally add property to object
I wish to add ingress rules to a security group, and I need to allow users to do this through variables while specifying only the name
, description
and either a cidr_block
or a security_group_id
.
How to deal with “Error: Duplicate object key” in Terraform
I am working on a scripts for creating a site hierarchy in Cisco DNA/Catalyst Center. I used an existing repo, that I’ve modified. I have structure that looks like this:
Unable to use VARs from a tfvars file in Terraform
I am new in Terraform. I am trying to setup some scripts for managing Cisco Catalyst Center (new name of Cisco DNA, but I am using the DNA Provider anyway 🙂 ). I used an existing repo, that I’ve modified.
I have structure that looks like this:
How to run this terraform nested for loop?
I’ve been trying to make this work, but just can’t figure it out.
Can you please help?
It should iterate over the private and public route, but also over the cidr_blocks
for each type of route.
How to Assign Multiple Values to a Single Key in a Terraform Map Variable
I am working with Terraform and have defined a variable of map type as shown below:
Looping over two variables with the same name in a flattened list
I’m working on a Terraform module:
Terraform HTTP provider handling lists in 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.
Anyway to simplify Terraform for_each
I have the following for_each in a data source in Terraform: