Skip to content

Commit

Permalink
fix: semaetic pr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bibek4699 committed Jun 14, 2024
1 parent 22c182a commit 42f5313
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
id: checkov
uses: bridgecrewio/checkov-action@master
with:
config_file: ".checkov.yaml"
config_file: ".checkov.yaml"
6 changes: 3 additions & 3 deletions .github/workflows/semantic-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Semantic Pull Request"
name: "semantic-pull-request"
permissions: read-all

on:
Expand All @@ -10,10 +10,10 @@ on:

jobs:
main:
name: Semantic Pull Request
name: semantic-pull-request
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
- uses: amannn/action-semantic-pull-request@v5
name: Semantic Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions examples/mysql_instance_with_read_replica/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ module "google_service_networking_connection_private_vpc_connection" {
module "sql_database_instance" {
source = "../../modules/google_sql_database_instance"

depends_on = [
module.google_service_networking_connection_private_vpc_connection
]

name = "sql-rr-${random_id.instance_suffix.hex}"
#checkov:skip=CKV_GCP_79:Ensure SQL database is using latest Major version"
database_version = "MYSQL_8_0"
Expand Down Expand Up @@ -62,10 +66,6 @@ module "sql_database_instance" {
enable_read_replica = true
read_replica_settings_ip_configuration_ipv4_enabled = true
read_replica_settings_tier = var.settings_tier

depends_on = [
module.google_service_networking_connection_private_vpc_connection
]
}

module "sql_database" {
Expand Down

0 comments on commit 42f5313

Please sign in to comment.