Skip to content
devops18 reglas activasVerificado el 2026-09-30

Open Tofu Plantilla .gitignore

Standard Open Tofu gitignore template from upstream github/gitignore collection. Generada y fusionada de manera determinista con los patrones del repositorio oficial de GitHub para mantener tu proyecto libre de carpetas de dependencias, artefactos de build y archivos de entorno local.

Generador interactivo de stack

Abrir en el generador completo
Search for templates
Añadir rápido:
Seleccionadas1
Open Tofu
Plantillas seleccionadas (1)
.gitignore
18 reglas
### Open Tofu ###
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tofu
override.tf.json
override.tofu.json
*_override.tf
*_override.tofu
*_override.tf.json
*_override.tofu.json
# Ignore transient lock info files created by tofu apply
.terraform.tfstate.lock.info
# Include override files you do wish to add to version control using negated pattern
# !example_override.tf
# !example_override.tofu
# Include tfplan files to ignore the plan output of command: tofu plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc
44 líneas•UTF-8
Pipeline Determinista

Código original de Open Tofu .gitignore

Plantilla fuente oficial rastreable
opentofu.gitignore•43 lines•UTF-8
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tofu
override.tf.json
override.tofu.json
*_override.tf
*_override.tofu
*_override.tf.json
*_override.tofu.json
# Ignore transient lock info files created by tofu apply
.terraform.tfstate.lock.info
# Include override files you do wish to add to version control using negated pattern
# !example_override.tf
# !example_override.tofu
# Include tfplan files to ignore the plan output of command: tofu plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc

Desglose de patrones clave

Caché y archivos temporales

Ignora cachés de compiladores, datos de cobertura de pruebas y archivos de trabajo efímeros.

crash.logcrash.*.log

Origen y verificación

Licencia:: CC0-1.0

Coloca este archivo en el directorio raíz de tu proyecto como .gitignore. Los cambios surtirán efecto en archivos nuevos o no rastreados.