python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
"Invalid function argument" with Userdata in Terraform
I'm trying to pass user data over a file so the code will look less clumsy, but having trouble. I've tried all the different combinations but nothing is working.
I went through the Terraform documenta...
thirudk
Votes: 0
Answers: 2
Terraform - Reference a for_each resource from another for_each resource
I have a terraform file with the following contents:
resource "aws_iam_group" "developers" {
name = each.value
for_each = toset(var.groups)
}
resource "aws_iam_group_...
Sarmad
Votes: 0
Answers: 0
Terraform refer to locals in another directory
I have a directory name "3-tier" In which there are two more directories namely ec2 and vpc. The exact directory structure is as attached below
The main.tf in vpc directory has a locals blo...
vidyadhar reddy
Votes: 0
Answers: 1
How to load file not using hashicorp/template in terraform
Apple M1 chip doesn't support hashicorp/template and which result in the below error
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/template v2.2.0 does not hav...
anish
Votes: 0
Answers: 1