Quantcast
Channel: Terraform - HashiCorp Discuss
Browsing all 11458 articles
Browse latest View live

Request for Guidance on Terraform Associate (003) Certification

Hi, I recently purchased the Terraform Associate (003) certification exam. Could someone please guide me on how to best prepare and successfully appear for the exam? Thanks in advance. Best regards,...

View Article


Cycle Error in Terraform When Using Subnets, NAT Gateways, NACLs, and ECS...

I’m facing a cycle error in my Terraform configuration when deploying an AWS VPC with public/private subnets, NAT gateways, NACLs, and an ECS service. Here’s the error message Error: Cycle:...

View Article


How to Enable Defer Option for Azure Redis Enterprise Cluster (Terraform)?

Hi everyone, I’m currently working on managing an Azure Redis Enterprise Cluster using Terraform. I need to enable the option to defer Redis DB version updates, which I know can be done manually...

View Article

How to use import command on Terraform Enterprise?

I am getting an error while Run and applying Terraform using Terraform Enterprise. Error: 422 Validation Failed { Message: Hook already exist on this repository} for resource...

View Article

Is there any way to get TF output ONLY for resources that are going to be...

For context, i want to spit out instructions to the person running the terraform to go send an IT ticket to create an AD group. In an ideal world this would be run in a CI/CD ecosystem that had...

View Article


Image may be NSFW.
Clik here to view.

How to call attributes from child module to another child module?

Is there a way that I can call an attribute from child module -application gateway to child module -subnet? from app-gateway/main.tf need to get a value for subnet_id which is in another child module....

View Article

Request to add PSC Endpoint connection to Google Cloud NetApp Volume

Hi, I’m learning about building on Google Cloud. My company website will be using a Google GKE cluster with a Google Cloud SQL backend, for the database, along with a Google Cloud NetApp volume, for...

View Article

Terraform Mongo imported service account password challenge

We created service account in mongo by not using terraform. We imported the user in terraform. Challenge here is we want to keep the password in the terraform state file same as when it was created by...

View Article


Dynamic Credentials with the Azure Provider - Customize Assertion/Subject

I am following this doc to setup Dynamic Credentials with the Azure Provider for our Terraform Enterprise (v202409-3), everything works well. However, there is a limitation on Azure side that each app...

View Article


I need to manage azure VM

Can we take snapshot on demand basis , can we poweron or poweroff VM using terraform? 1 post - 1 participant Read full topic

View Article

How to handle igoringa block which is a dynamic block in terraform but other...

Hi all, We have created some prod vmss with the following configuration which dynamically adds AD domain join extension which is inline with resource ad we made it a dynamic block because some of...

View Article

Validation on complex input variable

Hello, I have the following input variable: variable "network_profile" { type = object({ network_plugin = string network_mode = optional(string, null) network_policy = optional(string, null)...

View Article

Unable to create cloud private nat on gcp using google_compute_router_nat

Description: type parameter is not working in the resource google_compute_router_nat Reference : Terraform Registry error : Error: Unsupported argument │ │ on...

View Article


The allow_overwrite=true in aws_route53_record updates the existing record...

I’m seeing this when I create white-labled name servers (using reusable delegation set) for a sub-domain and then create a NS-Record in the main-domain zone with those white-labled records, terraform...

View Article

Fivetran Google Analytics 4 Connector produces inconsistent result after apply

I am trying to set up a connector between fivetran and google analytics 4. I keep getting the error: Provider produced inconsistent result after apply. When applying changes to...

View Article


Newbie on Terraform

This is my code, am just starting to learn by MYSELF (and dataSources ofc) some AWS skills on terraform. When i want apply my code that Error pop : │ Error: Reference to undeclared resource │ │ on...

View Article

Need insights on Providers for modules on the below qn as I am preparing for...

You have referred to a child module that has the following code. resource “aws instance” “myec2” { ami = “ami-082b5a644766e0e6f” instance type = “t2.micro” } True or false: You can override the...

View Article


I am having a " Can't access attributes on a list of objects" error

I have a working module where it will create Azure Storage account and another module will assign a role for the Azure Storage Account scope. Here is my code: > module "tf-state-storage" { >...

View Article

Creating AWS Auto-scaling group with Access denied error

Dears, I’m facing an issue while deploying an AWS Auto-Scaling group using Terraform/AWS Console. The encounter error is: ╷ │ Error: creating Auto Scaling Group (FROG-ASG-IRE-FROGACCOUNT): operation...

View Article

Module output into locals for different module

Hi guys. I’m writing modules for one of our project and I have the following situation. The first module is elastic beanstalk with locals and the second one is for aws_iam_role. My folder structure is...

View Article
Browsing all 11458 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>