python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Terraform: aws_s3_bucket_object "An argument named "source_hash" is not expected here."
Terraform documentation describes source_hash as an alternative to etag when storing aws_s3_bucket_object. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_object#...
jlo-gmail
Votes: 0
Answers: 1
Use indexing in for_each and for in terraform
I am trying to create multiple VPC and Subnets using for_each and for. Below is the code and error.
I am having trouble figuring out the index while using for_each. It's easier using count but the req...
Maya Ray
Votes: 0
Answers: 1
How to prevent a terraform resource from being deployed after it shows up in the planned diff?
I ran into this situation during my training the other day.
Say im working with another guy on a terraform infrastructure, and we have shared state (ofcourse).
He creates a resource and updates the st...
BUCKSHOT
Votes: 0
Answers: 2
How to set the EC2 resource instance count from a map value in a for_each in Terraform
For the following Terraform code - I would like to end up with 2x testing-sandbox-dev instances and 1x testing-sandbox-test instance. I'd like to be able to derive the count from the map value instanc...
crmepham
Votes: 0
Answers: 1