#terragrunt (2024-05)

terragrunt

Terragrunt discussions

Archive: https://archive.sweetops.com/terragrunt/

2024-05-13

susie-h avatar
susie-h

This might have been talked about in an earlier thread already, but is anyone else seeing some weird behavior in their editor within terragrunt-cache for the module download for terraform-null-label? VSCode is throwing an error in the cache folder, when i tunnel down it takes me to /examples/autoscalinggroup/main.tf line 28:

# terraform-null-label example used here: Set tags on everything that can be tagged
  tag_specifications {
    for_each = ["instance", "volume", "elastic-gpu", "spot-instance-request"]

with the error message “Unexpected attribute: An attribute named “for_each” is not expected here. Terraform”

    keyboard_arrow_up