diff --git a/atlantis.json b/atlantis.json index 978476b..64485cd 100644 --- a/atlantis.json +++ b/atlantis.json @@ -4,5 +4,12 @@ "github>globis-org/renovate-config:terraform" ], "prHourlyLimit": 1, - "rebaseWhen": "never" + "rebaseWhen": "never", + "packageRules": [ + { + "matchManagers": ["terraform"], + "matchDepTypes": ["required_version"], + "allowedVersions": "<=1.8.1" + } + ] } diff --git a/sre.json b/sre.json index 7723276..5342101 100644 --- a/sre.json +++ b/sre.json @@ -1,7 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", + "config:recommended", "github>globis-org/renovate-config:pinGitHubActions" ], "timezone": "Asia/Tokyo", diff --git a/terraformWithAtlantis.json b/terraformWithAtlantis.json deleted file mode 100644 index 3ac982c..0000000 --- a/terraformWithAtlantis.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "rebaseWhen": "never", - "prHourlyLimit": 1, - "packageRules": [ - { - "matchManagers": [ - "terraform" - ], - "matchPackagePatterns": [ - "^app.terraform.io/gdp-sre", - ], - "enabled": false - }, - { - "matchManagers": [ - "terraform" - ], - "matchDepTypes": [ - "helm_release" - ], - "enabled": false - }, - { - "matchManagers": [ - "terraform" - ], - "matchDepTypes": [ - "required_version" - ], - "allowedVersions": "<=1.8.1" - }, - { - "matchManagers": [ - "terraform" - ], - "additionalBranchPrefix": "{{packageFileDir}}-", - "commitMessageSuffix": "({{packageFileDir}})", - "groupName": "terraform state", - "groupSlug": "tfstate", - "automerge": true, - "major": { - "automerge": false - } - }, - { - "matchManagers": [ - "terraform" - ], - "additionalBranchPrefix": "{{packageFileDir}}-", - "commitMessageSuffix": "({{packageFileDir}})", - "description": "terraform local modules", - "groupName": "terraform modules", - "groupSlug": "tfmodules", - "matchFileNames": ["**/modules/**"], - "automerge": true, - "major": { - "automerge": false - }, - "rangeStrategy": "auto" - } - ] -}