Skip to content

Commit

Permalink
fix(rules): add Scaleway M&Q
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 17cb981 commit 7044350
Show file tree
Hide file tree
Showing 5 changed files with 15 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 @@ -319,6 +319,7 @@ exports[`all > should match everything 1`] = `
"scaleway.elasticmetal",
"scaleway.function",
"scaleway.kubernetes",
"scaleway.mq",
"scaleway.redis",
"scaleway.secretmanager",
"scaleway.storage",
Expand Down
1 change: 1 addition & 0 deletions src/rules/messaging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import './aws.sns.js';
import './aws.sqs.js';
import './gcp.pubsub.js';
import './rabbitmq.js';
import './scaleway.mq.js';
import './supabase.realtime.js';
import './upstash.kafka.js';
import './upstash.qstash.js';
11 changes: 11 additions & 0 deletions src/rules/messaging/scaleway.mq.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { register } from '../../register.js';

register({
tech: 'scaleway.mq',
name: 'Scaleway M&Q',
type: 'messaging',
dependencies: [
{ type: 'terraform.resource', name: 'scaleway_mnq_namespace' },
{ type: 'terraform.resource', name: 'scaleway_mnq_queue' },
],
});
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"scaleway.elasticmetal",
"scaleway.function",
"scaleway.kubernetes",
"scaleway.mq",
"scaleway.redis",
"scaleway.secretmanager",
"scaleway.storage",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export type AllowedKeys =
| 'scaleway.elasticmetal'
| 'scaleway.function'
| 'scaleway.kubernetes'
| 'scaleway.mq'
| 'scaleway.redis'
| 'scaleway.secretmanager'
| 'scaleway.storage'
Expand Down

0 comments on commit 7044350

Please sign in to comment.