20,212 questions
-1
votes
0
answers
42
views
AWS Athena cannot scan the Catalog database created by Terraform but can scan the manual created one
I created Terraform script to create Glue Crawlers and Catalog database. Crawlers crawl data from S3 bucket, the objects are in JSON and partitioned by dates. For example, s3://something/dev/raw/year=...
-2
votes
0
answers
42
views
Displaying Azure App Configuration Key Vault Reference Value
I have set up a couple of Azure App Configuration Keys, one manually and the other using Terraform configuration, as depicted in the image below and described in the last column.
Both keys reference ...
-7
votes
0
answers
36
views
Terraform Job Stuck - Gitlab CI - IAC Pipeline [closed]
I have a IAC pipeline with Terraform in gitlab ci, always works fine but today i had a stucked job in multi-projects that use WAF resource and CloudWatch... anyone had the same issue any day ?
In this ...
-1
votes
1
answer
37
views
Conditionally merge a map of objects in Terraform
I have a map of objects, and I want to filter the objects into a new map based on another variable. I think this should be fairly simple, but I get an error when using merge (which I assumed would be ...
0
votes
0
answers
74
views
terraform azure keyvault cert copy doesn't work in second or third attempt
I am trying to copy a certificate from one keyvault to another in azure using terraform for multiple dev. The terraform plan and apply works for the second time. When tried the same second time the ...
Advice
0
votes
3
replies
32
views
Deprecation of dynamodb_table in Terraform S3 Backend
Current Status | Still works with a warning in Terraform v1.12.x and v1.13.x
Request you to please tell by when it will be stop supporting.
Thanks
`A. Before (Deprecated Configuration)
terraform {
...
Best practices
0
votes
4
replies
70
views
What is the recommended best practice to create a provider with Terraform with Terragrunt where the provider has a dependency on a resource
The Problem
I'm working on a project where we are using Terraform and we are migrating to Terraform with Terragrunt. We are using Terraform to configure an AKS cluster via the azurerm provider. Which ...
-3
votes
1
answer
160
views
Localstack Terraform S3 creation error of Error: listing tags for S3 (Simple Storage) Bucket [closed]
I am trying to create a S3 bucket on LocalStack using Terraform and when I copied the code from their documentation it is giving me this error. I am unable to solve this terraform error.
main.tf:
...
Best practices
0
votes
2
replies
54
views
Terraform | Default tags at module level
I have a Terraform project for my AWS account. At the root, I have a set of modules, each representing a different project. I'd love to apply default tags to each resource, so I can easily propagate ...
-4
votes
1
answer
69
views
Can we achieve assigning roles and listing for multiple accounts using Native Terraform approach for AWS which is suitable for dyanmic too?
using Management account first i need to list all child accounts and i need to create an IAM role and IAM Trust policy with read only access to all child accounts through terraform and all the read ...
-1
votes
2
answers
150
views
How to grant manager permission on service principal? [closed]
I'm creating an automation using terraform and the databricks provider.
I set up the databricks provider and with this code i create a service principal and taked the detail of my group
resource "...
0
votes
1
answer
65
views
Resource is tuple with 3 elements
I am trying to extract the virtual machine name from this output:
output "linux_virtual_machine_names" {
description = "The resource id's of all Linux Virtual Machine."
value ...
-3
votes
1
answer
72
views
terraform issue when i add new value in config map
I’m trying to add a new record to my ConfigMap. It’s the third time I’ve done this operation – I made the previous edits in dev and stage – but in prod, when I add the record, Terraform tries to ...
Advice
0
votes
1
replies
137
views
How to enable user registration form in Authentik using terraform?
I’m setting up Authentik with Terraform (goauthentik/authentik v2025.8.1) and want users to be able to self-register via an OAuth2 application. I couldn’t find any working examples or docs for the ...
Advice
2
votes
4
replies
89
views
Schedule a Terraform destroy and apply of the same resource using Github Actions in Azure
My goal is to schedule a Cron Job using GitHub Actions to destroy and reapply the same resource at specific times — for example, apply at 8 a.m. and destroy at 5 p.m.
Based on my research, I would run ...