# Enterprise CI/CD Repository .gitignore # Comprehensive exclusion list for Terraform, Jenkins, and DevOps tools # =========================================== # Terraform # =========================================== # State files *.tfstate *.tfstate.* *.tfstate.backup # Plan files *.tfplan *.out # Terraform directories .terraform/ .terraform.lock.hcl # Variable files (may contain sensitive data) terraform.tfvars *.auto.tfvars *.auto.tfvars.json # Override files (environment-specific) override.tf override.tf.json *_override.tf *_override.tf.json # Terraform CLI configuration .terraformrc terraform.rc # Backend configuration files (generated by bootstrap) .backend-config # =========================================== # AWS & Cloud # =========================================== # AWS credentials and config .aws/ *.pem *.p12 *.key *.crt # Cloud provider configs .azure/ .gcp/ # =========================================== # Jenkins & CI/CD # =========================================== # Jenkins workspace .jenkins/ jenkins/workspace/ jenkins/jobs/ # Pipeline artifacts *.log *.tmp build/ dist/ target/ # SonarQube .sonar/ .sonarqube/ sonar-project.properties # Test results and coverage coverage/ test-results/ *.coverage junit.xml # =========================================== # Development & IDE # =========================================== # VSCode .vscode/ *.code-workspace # IntelliJ IDEA .idea/ *.iws *.iml *.ipr # Sublime Text *.sublime-project *.sublime-workspace # Vim *.swp *.swo *~ # Emacs *~ \#*\# /.emacs.desktop /.emacs.desktop.lock *.elc auto-save-list tramp .\#* # =========================================== # Operating System # =========================================== # macOS .DS_Store .AppleDouble .LSOverride Icon? ._* .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent # Windows Thumbs.db ehthumbs.db Desktop.ini $RECYCLE.BIN/ *.cab *.msi *.msm *.msp # Linux *~ .directory # =========================================== # Languages & Frameworks # =========================================== # Node.js node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* .npm .yarn-integrity # Python __pycache__/ *.py[cod] *$py.class *.so .Python env/ venv/ ENV/ env.bak/ venv.bak/ .pytest_cache/ .coverage htmlcov/ # Go vendor/ *.exe *.exe~ *.dll *.so *.dylib *.test *.out # Java *.class *.jar *.war *.ear *.nar hs_err_pid* # =========================================== # Docker & Containers # =========================================== # Docker .dockerignore docker-compose.override.yml .docker/ # Kubernetes *.kubeconfig kustomization.yaml # =========================================== # Documentation & Logs # =========================================== # Logs logs/ *.log npm-debug.log* yarn-debug.log* yarn-error.log* # Runtime data pids/ *.pid *.seed *.pid.lock # Temporary files *.tmp *.temp .tmp/ .temp/ # =========================================== # Security & Secrets # =========================================== # Secrets and sensitive data secrets/ .secrets/ *.secret .env .env.local .env.development.local .env.test.local .env.production.local # SSL certificates *.crt *.key *.pem *.p12 *.pfx # GPG keys *.gpg *.asc # SSH keys id_rsa* id_ed25519* known_hosts # =========================================== # Package Managers # =========================================== # npm package-lock.json yarn.lock # Composer (PHP) composer.lock vendor/ # Bundler (Ruby) Gemfile.lock vendor/bundle/ # =========================================== # Database # =========================================== # Database files *.db *.sqlite *.sqlite3 # Database dumps *.sql *.dump # =========================================== # Monitoring & Observability # =========================================== # Prometheus prometheus.yml # Grafana grafana.ini # =========================================== # Custom Project Files # =========================================== # Project-specific temporary files debug-info.txt terraform-outputs.* *.backup # Local configuration local.config .local/ # Archive files *.tar.gz *.zip *.rar *.7z # =========================================== # Comments for Team # =========================================== # IMPORTANT: Never commit sensitive data! # - AWS credentials, API keys, passwords # - terraform.tfvars files with real values # - SSL certificates and private keys # - Database connection strings # - Any file containing production secrets # Use terraform.tfvars.example for templates # Use environment variables for sensitive data in CI/CD # Store secrets in Jenkins credential store or AWS Secrets Manager