01-terragrunt/aws/123456789012/variables.hcl

locals {
  # AWS account-level shared variables.
  #
  # Two consumption paths:
  #   1) root.hcl auto-merges every variables.hcl up the tree into `inputs`,
  #      so any matching Terraform variable in a downstream module receives
  #      these values without extra wiring.
  #   2) A downstream variables.hcl can read these as locals via
  #      `read_terragrunt_config(find_in_parent_folders("variables.hcl"))`
  #      and reuse them, e.g. `local.variables.locals.default_tags`.
 
  account_id   = "123456789012"
  region       = "eu-central-1"
  region_token = "euc1"
  env          = "dev"
  project      = "tp"
  project_name = "timepass"
  company      = "scoutbytes"
 
  # Base tags. Module-level variables.hcl typically does:
  #   tags = merge(local.variables.locals.default_tags, { scope = "..." })
  default_tags = {
    company     = local.company
    project     = local.project_name
    environment = local.env
    terraform   = "true"
  }
}