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

Cdktf get timeout while waiting plugin to start

I’m testing CDKTF with AWS terraform provider. Last week I created some EC2, with secrets, etc. Today when I tried to update the code and run the npm run get (cdktf get) I got this error:...

View Article


Azure APIM creation fails giving error: ResourceNotFound

I am getting “State storage *statemgr.Filesystem declined to persist a state snapshot” error while creating APIM resource using terraform. My terraform files looks as: resource...

View Article


Working in teams with gitops - Rollback strategies

Hi there, I use terraform for my whole infrastructure. he current way is that the master branch represents the applied state of the production infrastructure. So the idea is to evaluate everything in...

View Article

Customization not working on windows 11

Hi All, I have an issue with customize on windows 11 where customization fails. I get an error that timed out waiting for customization. The VM boots OK but none of the customization gets applied....

View Article

Putting API Gateway Integration Response: NotFoundException: Invalid...

Guys, im trying to create an api, but just can’t create an integration response for my post method resource "aws_api_gateway_rest_api" "api" { name = "example-api" description = "API integration for...

View Article


Comparing objects in terraform test

I am trying to make an assertion about a complex object in terraform test. I am finding it very difficult because there seems to be no way to construct an object in Terraform. I am trying to assert...

View Article

How to retrieve details of ec2 instances?

I tried to use below code to retrieve data of ec2 instances running. provider “aws” { region = “us-west-2” } data “aws_instances” “instances” { instance_state_names = [“running”, “stopped”,“pending”,...

View Article

Provider alias doesn't seem to work in Terraform Cloud with dynamic...

I have the following: environment variables defined in Terraform Cloud: Variables Value TFC_AWS_PROVIDER_AUTH true TFC_AWS_PROVIDER_AUTH_DEV true TFC_AWS_RUN_ROLE_ARN...

View Article


Image may be NSFW.
Clik here to view.

No module delared in root module, i m getting this error

1 post - 1 participant Read full topic

View Article


Unable to parse credentials for Intro to Terraform on GCP LinkedIn Learning...

I have a fork of this repo GitHub - LinkedInLearning/introduction-to-terraform-on-google-cloud-platform-4506001: This is a repository for the LinkedIn Learning course Introduction to Terraform on...

View Article

Is there a way to enable bootstrap token auth while creating K8s cluster via...

resource “azurerm_resource_group” “kubernetes” { name = var.resource_group_name location = “North Europe” } resource “azurerm_kubernetes_cluster” “kubernetes” { name = var.cluster_name location =...

View Article

Image may be NSFW.
Clik here to view.

Conditionally create resources when a for_each loop is applied

Hello, I have a problem, as show in the title when I use this inside a dynamic block it works: dynamic "frontend_ip_configuration" { for_each = length(keys(var.frontend_conf_private)) > 0 ? [1] :...

View Article

Image may be NSFW.
Clik here to view.

ALB not in available state when trying to attach as target to NLB

I am using Terraform version 1.8.0 and creating resources in AWS. My parent module calls modules to create an application load balancer a network load balancer and the target groups. I am trying to...

View Article


Image may be NSFW.
Clik here to view.

Clarification to hour format

Hi Community, I am working creating some synthetic test in DataDog with terraform, I am adding the scheduling section in where I will specify the days and hours in which this test should run however I...

View Article

Nested for loop help on list of list of data

Can anybody help me ; im struggling to apply the split manifests as its a list of kubectl_file_documents[*].manifests … I somehow need to use a nested loop but am strugging to figure it out. Thanks in...

View Article


Aws_sagemaker_model: modelPackageArn failed to satisfy constraint

I used the Terraform code below to create a Sagemaker model package group and created a Sagemaker model which is added to the model package group. I encountered the Error: creating SageMaker model:...

View Article

Image may be NSFW.
Clik here to view.

Cloud composer - Data sources with GCP

Hello, I hope you are all OK I have some issue with terraform and GCP. The goal is to create a Cloud Composer instance on project A and to retrieve the network resources (network & subnetwork)...

View Article


How to update aws-auth configmap using terraform for eks cluster

Hi I am deploying eks cluster using terraform and cluster is up and running but problem is i cannot update aws-auth config map (tried both kind of access mode CONFIGMAP and API_AND_CONFIGMAP Can some1...

View Article

Image may be NSFW.
Clik here to view.

State file is stored in git lab terraform state, How to update the state file...

In my project of terraform have 3 environments , dev, stage and prod to provision aws infrastructure .instead of s3 all the state files are store in gitlab terraform state. I have stored my terraform...

View Article

Terraform vulnerability for version 1.5.7 & 1.7.5

Hello, We would like to enquire on the following vulnerabilities that have been flagged in the latest terraform version 1.5.7 and 1.7.5. We are already on the latest version for both terraform but...

View Article
Browsing all 11366 articles
Browse latest View live


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