Skip to content

Commit

Permalink
fix(rules): add OVH VPS
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 9c2e02b commit 5c8c345
Show file tree
Hide file tree
Showing 5 changed files with 12 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 @@ -260,6 +260,7 @@ exports[`all > should match everything 1`] = `
"ovh.database",
"ovh.kubernetes",
"ovh.storage",
"ovh.vps",
"pagerduty",
"papertrail",
"paypal",
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import './koyeb.js';
import './kubernetes.js';
import './mongodbatlas.js';
import './ovh.kubernetes.js';
import './ovh.vps.js';
import './platformsh.js';
import './qovery.cluster.js';
import './render.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/hosting/ovh.vps.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'ovh.vps',
name: 'OVH VPS',
type: 'hosting',
dependencies: [{ type: 'terraform.resource', name: 'ovh_vps' }],
});
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"ovh.database",
"ovh.kubernetes",
"ovh.storage",
"ovh.vps",
"qovery",
"qovery.cluster",
"qovery.database",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ export type AllowedKeys =
| 'ovh.database'
| 'ovh.kubernetes'
| 'ovh.storage'
| 'ovh.vps'
| 'ovh'
| 'pagerduty'
| 'papertrail'
Expand Down

0 comments on commit 5c8c345

Please sign in to comment.