Skip to content

Commit

Permalink
chore(terraform): update CKV_GCP_79 gcp postgres version to 16 (#6695)
Browse files Browse the repository at this point in the history
* chore: update gcp postgres version to 16

close #6689

* fix: TestCloudSqlMajorVersion

---------

Co-authored-by: itai1357 <[email protected]>
  • Loading branch information
qdelettre and itai1357 authored Sep 19, 2024
1 parent 5ccbfa3 commit b3978dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_inspected_key(self):
return 'database_version'

def get_expected_values(self):
return ["POSTGRES_15", "MYSQL_8_0", "SQLSERVER_2022_STANDARD", "SQLSERVER_2022_WEB",
return ["POSTGRES_16", "MYSQL_8_0", "SQLSERVER_2022_STANDARD", "SQLSERVER_2022_WEB",
"SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS"]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ resource "google_sql_database_instance" "fail2" {
}

resource "google_sql_database_instance" "pass2" {
database_version = "POSTGRES_15"
database_version = "POSTGRES_16"
name = "general-pos121"
project = "gcp-bridgecrew-deployment"
region = "us-central1"
Expand Down

0 comments on commit b3978dc

Please sign in to comment.