Skip to content

Commit

Permalink
fix(rules): add OVH Dedicated
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 5c8c345 commit 19cb968
Show file tree
Hide file tree
Showing 5 changed files with 16 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 @@ -258,6 +258,7 @@ exports[`all > should match everything 1`] = `
"oraclecloud",
"ovh",
"ovh.database",
"ovh.dedicated",
"ovh.kubernetes",
"ovh.storage",
"ovh.vps",
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 @@ -24,6 +24,7 @@ import './github.pages.js';
import './koyeb.js';
import './kubernetes.js';
import './mongodbatlas.js';
import './ovh.dedicated.js';
import './ovh.kubernetes.js';
import './ovh.vps.js';
import './platformsh.js';
Expand Down
12 changes: 12 additions & 0 deletions src/rules/hosting/ovh.dedicated.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { register } from '../../register.js';

register({
tech: 'ovh.dedicated',
name: 'OVH Dedicated Server',
type: 'hosting',
dependencies: [
{ type: 'terraform.resource', name: 'ovh_dedicated_server_install_task' },
{ type: 'terraform.resource', name: 'ovh_me_installation_template' },
{ type: 'terraform.resource', name: 'ovh_dedicated_server_update' },
],
});
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"jira",
"ovh",
"ovh.database",
"ovh.dedicated",
"ovh.kubernetes",
"ovh.storage",
"ovh.vps",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ export type AllowedKeys =
| 'optimizely'
| 'oraclecloud'
| 'ovh.database'
| 'ovh.dedicated'
| 'ovh.kubernetes'
| 'ovh.storage'
| 'ovh.vps'
Expand Down

0 comments on commit 19cb968

Please sign in to comment.