Skip to content

Commit

Permalink
Merge branch 'main' into jai/devop-2707-update-test-dependencies-on-t…
Browse files Browse the repository at this point in the history
…erraform
  • Loading branch information
MXfive authored Jul 25, 2023
2 parents b19cbbe + 7a2fc8d commit 5f52ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.77.2 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
rev: v1.81.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand All @@ -24,7 +24,7 @@ repos:
- id: terraform_checkov
exclude: (test/|examples/)
- repo: https://github.com/gitguardian/ggshield
rev: v1.14.5 # Update to latest version by running `pre-commit autoupdate`
rev: v1.16.0 # Update to latest version by running `pre-commit autoupdate`
hooks:
- id: ggshield
language: python
Expand Down
2 changes: 2 additions & 0 deletions modules/google_sql_database_instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ resource "google_sql_database_instance" "instance" {
#checkov:skip=CKV_GCP_111:Ensure GCP PostgreSQL logs SQL statements 'pgaudit.log' flag is set to 'all'
#checkov:skip=CKV2_GCP_20:Ensure MySQL DB instance has point-in-time recovery backup configured
#checkov:skip=CKV2_GCP_13:Ensure PostgreSQL database flag 'log_duration' is set to 'on'
#checkov:skip=CKV_GCP_79: "Ensure SQL database is using latest Major version"

database_version = var.database_version

Expand Down Expand Up @@ -143,6 +144,7 @@ resource "google_sql_database_instance" "read_replica" {
#checkov:skip=CKV_GCP_111:Ensure GCP PostgreSQL logs SQL statements 'pgaudit.log' flag is set to 'all'
#checkov:skip=CKV2_GCP_20:Ensure MySQL DB instance has point-in-time recovery backup configured
#checkov:skip=CKV2_GCP_13:Ensure PostgreSQL database flag 'log_duration' is set to 'on'
#checkov:skip=CKV_GCP_79: "Ensure SQL database is using latest Major version"

depends_on = [
google_sql_database_instance.instance
Expand Down

0 comments on commit 5f52ed7

Please sign in to comment.