Amazon web services – Terraform aws_s3_object with nested for loops
I have a tf code to create folders via aws_s3_object resource and am trying to modify the current code: variable "s3_bucket_folders" { type = set(string) default = [] } resource "aws_s3_object" "folders" { for_each = var.s3_bucket_folders bucket = aws_s3_bucket.bucket.id acl…