devops18 個の有効ルール2026-09-30 検証済み
Open Tofu .gitignore テンプレート
Standard Open Tofu gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
Open Tofu
選択されたテンプレート (1)
Open Tofu
devops
Standard Open Tofu gitignore template from upstream github/gitignore collection
#opentofu
.gitignore
18 ルール•1 テンプレート
### 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 行•UTF-8•LF
決定論的パイプライン
生ソース: Open Tofu .gitignore
クローラブルな公式アップストリーム原典opentofu.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 主要除外パターンの解説
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
crash.logcrash.*.log
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。