diff --git a/src/rules/__snapshots__/index.test.ts.snap b/src/rules/__snapshots__/index.test.ts.snap index 2180dfa2..36cff75c 100644 --- a/src/rules/__snapshots__/index.test.ts.snap +++ b/src/rules/__snapshots__/index.test.ts.snap @@ -258,6 +258,7 @@ exports[`all > should match everything 1`] = ` "oraclecloud", "ovh", "ovh.database", + "ovh.dedicated", "ovh.kubernetes", "ovh.storage", "ovh.vps", diff --git a/src/rules/hosting/index.ts b/src/rules/hosting/index.ts index dd0eaa68..0e686225 100644 --- a/src/rules/hosting/index.ts +++ b/src/rules/hosting/index.ts @@ -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'; diff --git a/src/rules/hosting/ovh.dedicated.ts b/src/rules/hosting/ovh.dedicated.ts new file mode 100644 index 00000000..6b02dcc8 --- /dev/null +++ b/src/rules/hosting/ovh.dedicated.ts @@ -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' }, + ], +}); diff --git a/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap b/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap index 3421e4bb..5ff08b8c 100644 --- a/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap +++ b/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap @@ -82,6 +82,7 @@ exports[`terraform (resource) > should match everything 1`] = ` "jira", "ovh", "ovh.database", + "ovh.dedicated", "ovh.kubernetes", "ovh.storage", "ovh.vps", diff --git a/src/types/techs.ts b/src/types/techs.ts index 1618c9bc..aac10b9c 100644 --- a/src/types/techs.ts +++ b/src/types/techs.ts @@ -276,6 +276,7 @@ export type AllowedKeys = | 'optimizely' | 'oraclecloud' | 'ovh.database' + | 'ovh.dedicated' | 'ovh.kubernetes' | 'ovh.storage' | 'ovh.vps'