renovate/lib/manager/terraform/index.ts
Sergei Zharinov 8a7abfdf01
refactor(github): Convert datasources to class form (#14124)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-13 03:24:40 +00:00

27 lines
1 KiB
TypeScript

import { BitBucketTagsDatasource } from '../../datasource/bitbucket-tags';
import { GitTagsDatasource } from '../../datasource/git-tags';
import { GithubTagsDatasource } from '../../datasource/github-tags';
import { HelmDatasource } from '../../datasource/helm';
import { TerraformModuleDatasource } from '../../datasource/terraform-module';
import { TerraformProviderDatasource } from '../../datasource/terraform-provider';
import * as hashicorpVersioning from '../../versioning/hashicorp';
export { updateArtifacts } from './lockfile';
export { extractPackageFile } from './extract';
export const supportedDatasources = [
BitBucketTagsDatasource.id,
GitTagsDatasource.id,
GithubTagsDatasource.id,
HelmDatasource.id,
TerraformModuleDatasource.id,
TerraformProviderDatasource.id,
];
export const supportsLockFileMaintenance = true;
export const defaultConfig = {
commitMessageTopic:
'Terraform {{managerData.terraformDependencyType}} {{depName}}',
fileMatch: ['\\.tf$'],
versioning: hashicorpVersioning.id,
};