I have the following code where I am trying to spin up an instance from an AMI and then replace the root volume with a volume I created from an earlier backup s
Terraform init is giving the following error. No version has been upgraded and it was working few days back but suddenly it is failing. Error: Failed to query a
Problem Getting target type ip,which is incompatible with the bridge network mode error when trying to create an ECS service with an existing NLB whose target
I get this error when applying terraform. It's clearly something wrong with my env_Vars. I've tried making name and value in quotes or without. Error: ECS Task
I need to add a policy to a bucket I create earlier on in my Terraform file. However, this errors with Error creating S3 bucket: BucketAlreadyOwnedByYou:
I am looking for an example on how to start execution of a step function from API Gateway using Terraform and the aws_apigatewayv2_integration resource. I am us
I created an aws_instance resource without any issue, but, I want to know how can I enable the SessionManager, the EC2 Instance Connect and EC2 Serial Console u
I need to import an event source mapping using Terraform and the documentation says: terraform import aws_lambda_event_source_mapping.event_source_mapping
I have a resource aws_wafv2_ip_set that is used by many different modules. variable "addresses" { type = set(string) default = [] } resource "aws_wafv2_
I have a resource aws_wafv2_ip_set that is used by many different modules. variable "addresses" { type = set(string) default = [] } resource "aws_wafv2_
I have a module where I want to conditionally create an s3 bucket in another region. I tried something like this: resource "aws_s3_bucket" "backup" { count
I tried to create an AWS security group with multiple inbound rules, Normally we need to multiple ingresses in the sg for multiple inbound rules. Instead of cre
I want to create a data archive_file with selected files and folders as source_dir. I have the folder structure as below. Within the src directory, I have lambd
This is my waf.tf terraform file: resource "aws_wafv2_web_acl" "waf_acl-dev" { name = "waf_log4j_Protections-dev" description = "WAFv2 for dev"
I am using terraform to provision elasticbeanstalk and there have been no changes in my template but still when I try to plan, it shows me below: # module.ab
The plugin logs may contain more details I am trying to deploy an EKS cluster in the eu-central-1 region on aws in terraform. What am I doing wrong here? This i
I got a sample AWS codepipeline working in Paris region ("eu-west-3") via the console but need to get it set up via Terraform. I have one major problem : Error:
OS: Unix .terraform.rc file content: plugin_cache_dir = "$HOME/.terraform.d/plugin-cache" I have placed aws provider plugin to "$HOME/.terraform.d/plugin-cache"
This issue looks very much like a bug but I believe there must be something wrong in my terraform file because I can't find anybody on the web having the same p
The infrastructure was built into AWS with Terraform source code. The state files are gone and now i'm trying to import the existing infrastructure into Terrafo