Skip to content

Commit

Permalink
fix(rules): add Qovery Database
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 28abb31 commit 726ebb3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ exports[`all > should match everything 1`] = `
"puppeteer",
"python",
"qovery",
"qovery.database",
"rabbitmq",
"react",
"reactemail",
Expand Down
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import './neo4j.js';
import './percona.js';
import './planetscale.js';
import './postgres.js';
import './qovery.database.js';
import './redis.js';
import './replit.database.js';
import './replit.postgres.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/db/qovery.database.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'qovery.database',
name: 'Qovery Database',
type: 'db',
dependencies: [{ type: 'terraform.resource', name: 'qovery_database' }],
});
2 changes: 2 additions & 0 deletions src/rules/spec/terraform/__snapshots__/resource.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ exports[`terraform (resource) > should match everything 1`] = `
"gcp.sql",
"gcp.tasks",
"jira",
"qovery",
"qovery.database",
"terraform",
]
`;
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export type AllowedKeys =
| 'prismacloud'
| 'puppeteer'
| 'python'
| 'qovery.database'
| 'qovery'
| 'rabbitmq'
| 'react'
Expand Down

0 comments on commit 726ebb3

Please sign in to comment.