diff --git a/src/rules/__snapshots__/index.test.ts.snap b/src/rules/__snapshots__/index.test.ts.snap index bf217431..309889ac 100644 --- a/src/rules/__snapshots__/index.test.ts.snap +++ b/src/rules/__snapshots__/index.test.ts.snap @@ -318,6 +318,7 @@ exports[`all > should match everything 1`] = ` "scaleway.documentdb", "scaleway.elasticmetal", "scaleway.function", + "scaleway.kubernetes", "scaleway.redis", "scaleway.secretmanager", "scaleway.storage", diff --git a/src/rules/hosting/index.ts b/src/rules/hosting/index.ts index daa10756..889e3107 100644 --- a/src/rules/hosting/index.ts +++ b/src/rules/hosting/index.ts @@ -35,6 +35,7 @@ import './replit.js'; import './scaleway.container.js'; import './scaleway.elasticmetal.js'; import './scaleway.functions.js'; +import './scaleway.kubernetes.js'; import './sitecore.js'; import './supabase.functions.js'; import './tencentcloud.js'; diff --git a/src/rules/hosting/scaleway.kubernetes.ts b/src/rules/hosting/scaleway.kubernetes.ts new file mode 100644 index 00000000..7f5ba44d --- /dev/null +++ b/src/rules/hosting/scaleway.kubernetes.ts @@ -0,0 +1,8 @@ +import { register } from '../../register.js'; + +register({ + tech: 'scaleway.kubernetes', + name: 'Scaleway Kubernetes', + type: 'hosting', + dependencies: [{ type: 'terraform.resource', name: 'scaleway_k8s_cluster' }], +}); diff --git a/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap b/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap index f5aba72d..86628995 100644 --- a/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap +++ b/src/rules/spec/terraform/__snapshots__/resource.test.ts.snap @@ -95,6 +95,7 @@ exports[`terraform (resource) > should match everything 1`] = ` "scaleway.documentdb", "scaleway.elasticmetal", "scaleway.function", + "scaleway.kubernetes", "scaleway.redis", "scaleway.secretmanager", "scaleway.storage", diff --git a/src/types/techs.ts b/src/types/techs.ts index db8d027c..ecfcf1fc 100644 --- a/src/types/techs.ts +++ b/src/types/techs.ts @@ -337,6 +337,7 @@ export type AllowedKeys = | 'scaleway.documentdb' | 'scaleway.elasticmetal' | 'scaleway.function' + | 'scaleway.kubernetes' | 'scaleway.redis' | 'scaleway.secretmanager' | 'scaleway.storage'