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)
data source with count condition
I've a data source which contains count in it. For some reason it fails with the following error.
code
data "oci_core_vcn" "test_vcn" {
#Required
vcn_id = oci_core_vcn.test...
Amman
Votes: 0
Answers: 1
depends_on "A static list expression is required."
I'm using the depends_on block with a condition check while creating object storage. Surprisingly, I saw the following error. Any pointers on how to resolve it?
code:
locals {
is_gov = local.r...
Datta
Votes: 0
Answers: 1
Is it common for a Terraform resource to interact with multiple API groups or it should be 1:1 mapping?
Context: I'm developing a TF Provider and going through HashiCorp's tutorial.
I'm trying to come up with a resource definition and can't figure out which one to pick.
Option #1:
Schema: map[string]*...
Serge Bryant
Votes: 0
Answers: 1
How to trim username from email id in terraform
How to drop everything after @ in email id in terraform
count = length(local.admin_users)
username = "${trimspace(local.admin_users[count.index])}_default&q...
cloudbud
Votes: 0
Answers: 1