A unit passes a shared variables file to each command that accepts it.
terraform { extra_arguments "common_vars" { commands = commands.accept_vars arguments = ["-var-file=${get_terragrunt_dir()}/../common.tfvars"] }}A field of the commands variable.
commands.accept_vars holds these commands: apply, console, destroy, import, plan, push, and refresh.
It has the same value as get_terraform_commands_that_need_vars().
A unit passes a shared variables file to each command that accepts it.
terraform { extra_arguments "common_vars" { commands = commands.accept_vars arguments = ["-var-file=${get_terragrunt_dir()}/../common.tfvars"] }}