devops18 règles activesVérifié le 2026-09-30
Open Tofu Modèle .gitignore
Standard Open Tofu gitignore template from upstream github/gitignore collection. Généré et fusionné de manière déterministe avec les règles officielles de GitHub pour préserver votre dépôt des répertoires de dépendances, artefacts de compilation et fichiers de configuration locale.
Générateur interactif de stack
Ouvrir dans le générateur complet/
Search for templates
Ajout rapide :
Sélectionnés1
Open Tofu
Modèles sélectionnés (1)
Open Tofu
devops
Standard Open Tofu gitignore template from upstream github/gitignore collection
#opentofu
.gitignore
18 règles•1 modèle
### Open Tofu #### Local .terraform directories**/.terraform/* # .tfstate files*.tfstate*.tfstate.* # Crash log filescrash.logcrash.*.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 inoverride.tfoverride.tofuoverride.tf.jsonoverride.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.terraformrcterraform.rc 44 lignes•UTF-8•LF
Pipeline Déterministe
Source brute de Open Tofu .gitignore
Modèle officiel upstream explorableopentofu.gitignore•43 lines•UTF-8
# Local .terraform directories**/.terraform/* # .tfstate files*.tfstate*.tfstate.* # Crash log filescrash.logcrash.*.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 inoverride.tfoverride.tofuoverride.tf.jsonoverride.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.terraformrcterraform.rc Détail des règles clés
Caches et fichiers temporaires
Ignore les caches des compilateurs, les rapports de couverture de tests et les fichiers de travail temporaires.
crash.logcrash.*.log
Origine et vérification
Source :: GitHub gitignore officiel (main)
Licence :: CC0-1.0
Placez ce fichier dans le répertoire racine de votre projet sous le nom .gitignore. Les modifications s'appliquent aux fichiers nouveaux ou non suivis.