Category "terraform"

method to print checkov external modules downloading status

I'm using checkov to scan the static code for my terraform scripts. My terraform scripts internally imports few modules from private repo or public repos. Is th

Multiple Vnets and subnets using terraform modules

I am new to terraform and I am trying to create module for multiple vnets and under that multiple subnets I am able to create multiple vnets using the module bu

Providing an S3 upload task with AWS creds?

I'm currently using a service connection for this: - task: S3Upload@1 inputs: regionName: 'us-east-1' bucketName: 'bucket' sourceFolder: '

Error in gitlab-ci when trying to use hashicorp/dir/template module

I'm getting the error that base_dir is an invalid argument. But according to the documentation on the hashicorp repo, it's a required string. Here's my main.tf:

Terraform is throwing InvalidArgumentException Duplicate ProcessorParameter passed to ProcessingConfiguration on Kinesis Firehose dynamic partitioning

I'm trying to create a Kinesis Firehose using terraform with dynamic partitioning using two partition queries from the JSON I'm recieving, my processing configu

Terraform and tagging AWS resources from an external json file

If I had a json file like this: { "allMyTags": { "owner": "john", "department": "HR", "city": "New York" } } and my AWS provide

pip vendor certifi handle is invalid

The following may be due to the fact that I messed something regarding a SSL certificate up on my local machine? I encounter the issue during Terraform plan but

How can I invalidate AWS CloudFront Distribution cache using Terraform?

I am looking for a way to invalidate the CloudFront distribution cache using Terraform. I could not find any information in the docs. Is this possible and if so

AWS API Gateway: Why setting "application/json" mapping template for GET request is required for MOCK integration to work?

I'm setting up a mock integration for GET requests with AWS API Gateway, and wonder why it only works when the application/json request template is specified. T

bypass input values in GitHub Actions workflow to a terraform variables file

As part of provisioning google cloud resources with GitHub actions using terraform I need to bypass some input values using terraform variables file, the issue

How to automate the creation of cache disks for storage gateway with terraform?

I'm automating the creation of a storage gateway in terraform following [1], to follow the best practices of gitops of having every important infrastucture as c

getting error while trying to copy data using google_bigquery_data_transfer_config using terraform

I am trying to setup a bigquery data transfer configuration using terraform. I am using my personal gcp account. I have a setup of terraform on my laptop so tha

How to access a local using a variable in Terraform

I have the following code. mymodule variable "senses" { type = string } locals { sounds = { "cat" = "meow" "dog" = ["bark", "woof"] } } output

How to get subnet_id of ec2 instances in AWS using Terraform?

Suppose we have some ec2 instances in AWS. How can we get subnet_ids of these ec2s via Terraform?

Multiple values in EMR Cluster Configuration template

Within my EMR module I have a template that is deployed for the cluster configuration, within this template are all the cluster configuration requirements for t

view Terraform output from module using for_each and toset

i have a simple terraform script which makes use of a module, the script creates multiple s3 buckets: main.tf: variable "bucket_name"{ type = list descr

AzureRM Automation DSC Configuration

I'm trying to configure Azure DSC Configuration, but I am running into two issues. I continue to get this error message Error = 'invalid character 'c' looking f

how to use aws secret manager values of a postgres database in terraform ecs task definition

I have the settings.py file below of a django application using terraform , docker compose and im trying to get the value of the database stored in aws secret m

How to solve Error creating Service: googleapi: Error 403: Permission 'iam.serviceaccounts.actAs' denied on service account

I've been trying to create a public cloud run invoker policy and bind that to my cb_app cloud run service so that it can be exposed. I've created a custom servi

Error 403: Permission iam.serviceAccounts.create is required to perform this operation on project projects/, forbidden

I am trying to create GKE cluster from terraform. I have an existing service account and I don't want to create any new service account instead use the one whic