Skip to content

Commit

Permalink
fix(rules): add OVH Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent e9c0ec6 commit 9c2e02b
Show file tree
Hide file tree
Showing 4 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 @@ -259,6 +259,7 @@ exports[`all > should match everything 1`] = `
"ovh",
"ovh.database",
"ovh.kubernetes",
"ovh.storage",
"pagerduty",
"papertrail",
"paypal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"ovh",
"ovh.database",
"ovh.kubernetes",
"ovh.storage",
"qovery",
"qovery.cluster",
"qovery.database",
Expand Down
1 change: 1 addition & 0 deletions src/rules/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ import './aws.s3.js';
import './gcp.artifactregistry.js';
import './gcp.containerregistry.js';
import './gcp.gcs.js';
import './ovh.storage.js';
import './supabase.storage.js';
13 changes: 13 additions & 0 deletions src/rules/storage/ovh.storage.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { register } from '../../register.js';

register({
tech: 'ovh.storage',
name: 'OVH Storage',
type: 'hosting',
dependencies: [
{
type: 'terraform.resource',
name: 'ovh_cloud_project_region_storage_presign',
},
],
});

0 comments on commit 9c2e02b

Please sign in to comment.