Example Terraform configuration for testing PostgreSQL integration: - main.tf: VPC and database setup - postgres.tf: Database resource definitions - outputs.tf: Output values for connection - test_basic.sh: Basic connectivity tests - test_lifecycle.sh: Full lifecycle testing - terraform.tfvars.example: Configuration template - .gitignore: Ignore sensitive data and terraform artifacts
22 lines
279 B
Plaintext
22 lines
279 B
Plaintext
# Terraform provider plugins
|
|
.terraform/
|
|
.terraform.lock.hcl
|
|
|
|
# Terraform state
|
|
terraform.tfstate
|
|
terraform.tfstate.backup
|
|
*.tfstate
|
|
*.tfstate.backup
|
|
|
|
# Sensitive data
|
|
terraform.tfvars
|
|
!terraform.tfvars.example
|
|
|
|
# Backup files
|
|
*.bak
|
|
*.bak_db
|
|
*.bak_*
|
|
|
|
# Test artifacts
|
|
test_*.log
|