Back to Terragrunt

Generated File Permissions

docs/src/data/changelog/v1.1.4/generated-file-permissions.mdx

1.1.4804 B
Original Source

Generated files are readable only by the user who ran Terragrunt

Terragrunt created several files and directories that other users on the same machine could read:

  • The CLI config Terragrunt writes for OpenTofu/Terraform when the Provider Cache Server is enabled, and the directory holding it.
  • The JSON plan files written to --json-out-dir, and that directory.
  • The directories holding the plan files written to --out-dir.
  • The config written by render --write, which holds the resolved values of inputs, locals, and dependency outputs.

Terragrunt now creates those files as 0600 and those directories as 0700.